This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ELF_DYNAMIC_INTERPRETER


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]