This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Porting binutils to other OS
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: "Alfeiks Kaanoken \(MadTirra\)" <madtirra at jarios dot org>, binutils at sourceware dot org
- Date: Fri, 24 Apr 2009 01:09:14 +0200
- Subject: Re: Porting binutils to other OS
- References: <49F0C0D3.2060101@jarios.org> <m37i1b3x5j.fsf@google.com>
Ian Lance Taylor <iant@google.com> writes:
> "Alfeiks Kaanoken (MadTirra)" <madtirra@jarios.org> writes:
>
>> 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.
The VDSO has nothing to do with the dynamic linker, it is just some
pages of memory automatically mapped by the kernel into the address
space of every process. Its contents look like a regular ELF shared
object, that's why ldd shows it like that, but the services it provides
can be used by any program, not only dynamically linked ones.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."