freebsd-dev/contrib/elftoolchain/elfcopy
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
..
archive.c Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
ascii.c Update elftoolchain to upstream revision 3179 2015-04-01 01:08:01 +00:00
binary.c Update to ELF Tool Chain r3272 2015-12-11 20:28:27 +00:00
elfcopy.1 Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
elfcopy.h Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
main.c Allow elfcopy to convert between two non-ELF formats 2016-02-16 14:03:25 +00:00
Makefile Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
mcs.1
pe.c Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
sections.c elfcopy: fail if debug link target is empty 2016-03-04 18:28:19 +00:00
segments.c Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
strip.1
symbols.c Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00