ELF_DYNAMIC_INTERPRETER changes for FreeBSD

David O'Brien obrien@FreeBSD.org
Tue Apr 11 23:55:00 GMT 2000


On Tue, Apr 11, 2000 at 11:31:08PM -0700, Ian Lance Taylor wrote:
> BFD uses the dynamic interpreters specified in the ELF ABI.  I don't
> see any reason for it to do anything else by default.

Does the ELF ABI really specify different names and places for different
architctures?

$ egrep 'define.*ELF_DYNAMIC_INTERPRETER' *
elf32-arm.h:#define ELF_DYNAMIC_INTERPRETER     "/usr/lib/ld.so.1"
elf32-i370.c:#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so"
elf32-i386.c:#define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1"
elf32-m68k.c:#define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1"
elf32-mips.c:#define ELF_DYNAMIC_INTERPRETER(abfd)              \
elf32-ppc.c:#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so.1"
elf32-sparc.c:#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so.1"
elf64-alpha.c:#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so"
elf64-sparc.c:#define ELF_DYNAMIC_INTERPRETER "/usr/lib/sparcv9/ld.so.1"

-- 
-- David    (obrien@NUXI.com)


More information about the Binutils mailing list