ELF_DYNAMIC_INTERPRETER

Bharadwaj Yadavalli sby@ives.lkg.dec.com
Thu Jun 1 14:18:00 GMT 2000


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




More information about the Binutils mailing list