Files
Ed Maste 179219ea04 strip/objcopy: handle empty file as unknown
Previously strip reported a somewhat cryptic error for empty files:

    strip: elf_begin() failed: Invalid argument

Add a special case to treat empty files as with an unknown file format.
This is consistent with llvm-strip.  GNU strip produces no output which
does not seem like useful behaviour (but it does exit with status 1).

Reported by:	andrew
Reviewed by:	markj
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D32648
2021-10-25 17:28:41 -04:00
..
2019-01-10 14:35:23 +00:00
2018-04-27 13:59:24 +00:00
2019-01-10 14:35:23 +00:00
2017-04-17 23:56:48 +00:00
2019-01-10 14:35:23 +00:00