Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/external/gpl3/binutils/dist/bfd



Module Name:    src
Committed By:   martin
Date:           Tue Feb 25 20:05:48 UTC 2020

Modified Files:
        src/external/gpl3/binutils/dist/bfd [netbsd-9]: elf.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #726):

        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.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.2.1 src/external/gpl3/binutils/dist/bfd/elf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index