aboutsummaryrefslogtreecommitdiff
path: root/lib/libexpat/Makefile.depend
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-10-25 21:25:26 +0000
committerEd Maste <emaste@FreeBSD.org>2021-10-25 21:28:41 +0000
commit179219ea046f46927d6478d43431e8b541703539 (patch)
treeab0e9c524102de11c5356ecb5f2c4d4f6cc4a114 /lib/libexpat/Makefile.depend
parentb15b0535968e6c09694c922d0d173956085426d3 (diff)
downloadsrc-main.tar.gz
src-main.zip
strip/objcopy: handle empty file as unknownHEADmain
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
Diffstat (limited to 'lib/libexpat/Makefile.depend')
0 files changed, 0 insertions, 0 deletions