This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: minor patch to ld/emultempl/elf32.em


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]