freebsd-dev/contrib
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
..
arm-optimized-routines Import Arm Optimized Routines v21.02 2021-07-06 11:05:34 +01:00
atf Import atf 0.22 snapshot 55c21b2c5fb189bbdfccb2b297bfa89236502542 2021-09-10 17:08:42 -06:00
bc contrib/bc: update to version 5.1.1 2021-10-06 23:30:59 +02:00
bearssl
blacklist
bmake make: fix MAKE_JOB_ERROR_TOKEN 2021-09-10 13:11:28 -07:00
bsnmp Fix bsnmpd(1) crash with ill-formed Discovery message 2021-10-01 14:10:39 +03:00
byacc
bzip2
capsicum-test Re-enable network ioctls in capability mode 2021-04-23 09:22:49 -04:00
com_err
cortex-strings
dialog
diff
dma dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
ee ee: restore the stdin/stdout terminal check 2021-04-12 00:48:45 +03:00
elftoolchain strip/objcopy: handle empty file as unknown 2021-10-25 17:28:41 -04:00
expat
file
flex contrib/flex: Drop local __dead2 patch 2021-04-21 10:54:59 +01:00
gdtoa
googletest
hyperv/tools
ipfilter
jemalloc
kyua
ldns
ldns-host
less less: upgrade to v590. 2021-07-17 22:20:44 -07:00
lib9p
libarchive libarchive: import bugfix from upstream 2021-08-27 12:51:01 +02:00
libbegemot
libc-pwcache
libc-vis vis(3): avoid out-of-bounds stack buffer reads 2021-06-16 16:27:13 +01:00
libcbor Import libcbor at 'contrib/libcbor/' 2021-10-06 20:26:10 -04:00
libcxxrt Partially revert libcxxrt changes to avoid _Unwind_Exception change 2021-03-13 14:54:24 +01:00
libdivsufsort
libedit libedit: import snapshot 2021-09-10 2021-09-22 10:19:43 +02:00
libevent
libexecinfo
libfido2 libfido2: Address CHERI compatibility 2021-10-06 21:40:26 -04:00
libpcap
libucl Fix build post a040967612. 2021-03-22 08:42:18 -07:00
libxo
llvm-project Fix clang's internal assembler adding unwanted prefix to VIA xstore 2021-10-23 20:20:00 +02:00
lua
lutok
mandoc
mknod
mtree
ncurses ncurses: Apply a tputs() fix from patch 20210403 2021-08-11 13:08:23 -04:00
netbsd-tests time_t is pathological: use %j + cast to print it. 2021-10-01 12:16:10 -06:00
netcat
ngatm
ntp ntp: Revert "Disable ntpd stack gap. When ASLR with STACK GAP != 0 ntpd suffers SIGSEGV." 2021-10-15 16:06:26 -07:00
nvi Allow building usr.bin/vi with MK_ASAN 2021-07-19 15:04:19 +01:00
ofed ibstat: Include prototype for sysctlbyname(). 2021-05-27 09:42:30 +02:00
one-true-awk awk: document updating 2021-08-01 11:31:50 -06:00
openbsm
opencsd/decoder
openpam
openresolv
opie
pam_modules/pam_passwdqc
pf ftp-proxy: Revert incorrect migration to libpfctl 2021-07-01 21:34:40 +02:00
pjdfstest
pnglite
pnpinfo
processor-trace
sendmail
smbfs
sqlite3 sqlite3: import sqlite3 3.35.5 2021-05-06 18:01:44 -07:00
tcp_wrappers tcp_wrappers: get rid of duplicate fgets declarations 2021-09-30 23:55:27 -05:00
tcpdump tcpdump: decode packets on pfsync interfaces 2021-07-13 13:29:52 +02:00
tcsh tcsh: update to version 6.22.04. 2021-05-20 00:12:27 +03:00
telnet telnet(1): add quiet mode ("telnet -Q") 2021-06-21 17:11:57 +01:00
terminus
tnftp
traceroute
tzcode tzcode: Fix operation without WITH_DETECT_TZ_CHANGES 2021-09-14 20:17:50 +00:00
tzdata contrib/tzdata: import tzdata 2021e 2021-10-22 13:20:20 +08:00
unbound unbound: Vendor import 1.13.2 2021-08-17 02:32:56 -07:00
unvis
vis Merge tag 'vendor/NetBSD/vis/20210621' into vis 2021-06-21 18:04:17 -06:00
wpa wpa: Import wpa_supplicant/hostapd commits up to b4f7506ff 2021-09-03 06:08:41 -07:00
xz