This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Porting binutils to other OS
- From: Ian Lance Taylor <iant at google dot com>
- To: "Alfeiks Kaanoken \(MadTirra\)" <madtirra at jarios dot org>
- Cc: binutils at sourceware dot org
- Date: Thu, 23 Apr 2009 13:58:16 -0700
- Subject: Re: Porting binutils to other OS
- References: <49F0C0D3.2060101@jarios.org>
"Alfeiks Kaanoken (MadTirra)" <madtirra@jarios.org> writes:
> LD_LIBRARY_PATH=. ldd libc.so
> statically linked
> But it has dynamic section.
ldd is just a shell script which runs the dynamic linker. It is not a
reliable way to examine the contents of an ELF shared library or
executable. Use readelf.
> I'm confused a little bit, because our parser of the ELF binary
> (mostly built from existing source code) doesn't find linux-vdso.so.1
> - is it ok ?
Yes. linux-vdso.so.1 is introduced by the GNU/Linux specific dynamic
linker.
Ian