This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: minor patch to ld/emultempl/elf32.em
- To: Nick Clifton <nickc at redhat dot com>, binutils at sourceware dot cygnus dot com
- Subject: Re: minor patch to ld/emultempl/elf32.em
- From: "David O'Brien" <obrien at FreeBSD dot org>
- Date: Wed, 3 Jan 2001 18:19:45 -0800
- Organization: The NUXI BSD group
- References: <200101040105.RAA16276@elmo.cygnus.com> <9579.978574433@cygnus.com>
- Reply-To: obrien at FreeBSD dot org
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)