b803ef0dc8
external/gpl3/binutils/dist/bfd/elf.c: revision 1.14 Fix 'nm /dev/ksyms' (noticed by ryo). Since binutils 2.15, nm(1) cannot be used for character devices. We worked around this by a local patch: http://cvsweb.netbsd.org/bsdweb.cgi/src/gnu/dist/binutils/binutils/Attic/bucomm.c?r1=1.1.1.2&hideattic=0#rev1.2 With recent update of binutils, 'nm /dev/ksyms' got broken again. This is due to a consistency check involving file size reported by stat(2), which is always zero for character devices. So, skip this check if file size is zero. |
||
---|---|---|
.. | ||
dist | ||
lib | ||
usr.bin | ||
usr.sbin | ||
Makefile | ||
Makefile.inc | ||
binutils2netbsd |