This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
ELF_DYNAMIC_INTERPRETER
- To: binutils at sourceware dot cygnus dot com
- Subject: ELF_DYNAMIC_INTERPRETER
- From: Bharadwaj Yadavalli <sby at ives dot lkg dot dec dot com>
- Date: Thu, 1 Jun 2000 17:17:33 -0400 (EDT)
- Reply-To: sby at ives dot lkg dot dec dot com
Hi,
Can someone kindly give this small peice of information?
I see that elf64-alpha.c has
#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so"
but the images have /lib/ld-linux.so.2 as the interpreter
embedded in the .interp section (and /usr/lib/ld.so doesn't
even exist on my Linux/Alpha box). As far as I could tell
elf64_alpha_size_dynamic_sections():elf64-alpha.c picks
the string ELF_DYNAMIC_INTERPRETER to hard code the interpreter
in the final image's .interp section. Where/how is it
morphing to /lib/ld-linux.so.2?
Thanks in advance for all your help.
Bharadwaj