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
..
2015-08-09 05:14:25 +00:00
2015-05-21 05:06:08 +00:00
2015-12-25 16:19:21 +00:00
2016-02-29 21:39:00 +00:00
2016-01-22 16:59:06 +00:00
2015-10-11 17:45:20 +00:00
2015-09-23 05:39:20 +00:00
2016-01-23 15:33:11 +00:00
2016-01-05 05:25:16 +00:00
2016-02-23 07:13:22 +00:00
2015-09-27 07:04:16 +00:00
2016-01-22 07:32:39 +00:00
2016-02-02 11:36:58 +00:00
2016-03-03 15:36:00 +00:00
2015-12-31 22:45:00 +00:00
2015-10-08 11:42:15 +00:00
2015-11-12 03:25:04 +00:00
2015-11-21 09:09:25 +00:00