freebsd-skq/contrib/elftoolchain
Ed Maste f5e9c916af elfcopy: fail if debug link target is empty
An empty debug link target previously returned a confusing and incorrect
error like "objcopy: fread failed: No error: 0". Now, return an explicit
error.

GNU objcopy allows an empty file as the debug link target. However,
that case is nonsensical so diverging from GNU behaviour is fine.

Reviewed by:	bdrewery
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D5541
2016-03-04 18:28:19 +00:00
..
addr2line Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
ar Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
brandelf Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
common Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
cxxfilt Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
elfcopy elfcopy: fail if debug link target is empty 2016-03-04 18:28:19 +00:00
elfdump Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
libdwarf Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
libelf Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
libelftc Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
libpe Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
nm Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
readelf Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
size Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
strings Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00