minor patch to ld/emultempl/elf32.em
Nick Clifton
nickc@redhat.com
Wed Jan 3 17:28:00 GMT 2001
Hi Chris,
: > Why is this patch necessary ? Ie what harm is there in checking
: > ld.so.conf on non-Linux based systems ?
:
: The comment says:
:
: /* For a native linker, check the file /etc/ld.so.conf for directories
: in which we may find shared libraries.
:
: at least with NetBSD's ELF platforms, that is _not_ the case. Its
: contents are ... different.
:
: I don't know that checking it would be _harmful_, but certainly
: wouldn't have the intended effect for one of the NetBSD ELF loader or
: GNU ld. 8-)
Oh OK - since the patch allows for support for other platforms to be
added if necessary...
: 2000-1-2 David O'Brien <obrien@BSDi.com>
:
: * emultempl/elf32.em: Only perform Linux ld hints processing when
: targeting Linux.
Approved.
Cheers
Nick
More information about the Binutils
mailing list