linux-mips-fnet
[Top] [All Lists]

Re: Dynamic linker and .interp section

To: Michael Shmulevich <michaels@jungo.com>
Subject: Re: Dynamic linker and .interp section
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Thu, 12 Apr 2001 16:46:31 +0200 (MET DST)
Cc: Linux/MIPS <linux-mips@oss.sgi.com>, FR Linux/MIPS <linux-mips@fnet.fr>
In-reply-to: <3AD5BBDF.8060101@jungo.com>
Organization: Technical University of Gdansk
On Thu, 12 Apr 2001, Michael Shmulevich wrote:

> >  You can.  Ld never checks for its existence.
> 
> As with binutils-2.10 it is not true. Not only ld looks for it, it opens 
> the file, checks the architecture and even checks for SO_NAME (adds it 
> do NEEDS list). I have tried it several times.

 It is.  Otherwise I wouldn't be able to cross-compile and I am.  Check
whether you link against a dynamic object.  It might have the dynamic
linker as one of it's DT_NEEDED dependencies.  For example it's the case
for libc.so.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>