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


On Thu, Jan 04, 2001 at 01:13:53PM +1100, matthew green wrote:
>    : This patch only activates the Linux processing when targeting Linux (and
>    : makes room for simular processing when targeting FreeBSD).  I created ld
>    : targeting i686-pc-linux-gnu and did `make check' and things looked OK,
>    : along with a `make check' on FreeBSD 4.2.
>    
>    Why is this patch necessary ?  Ie what harm is there in checking
>    ld.so.conf on non-Linux based systems ?
> 
> i'm not sure if this _is_ an issue, but other systems besides linux have
> an /etc/ld.so.conf and they do not all have the same semantics.

Correct.  `ld.so' is the a.out version on FreeBSD, the ELF one being
`ld-elf.so'.  Also it just feels "unclean" to have a Linux'ism creep into
other targets and IMHO just isn't right.  Also, FreeBSD has simular (but
different needs) and I'll be submitting the FreeBSD version soon.

-- 
-- David  (obrien@FreeBSD.org)

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