This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: ELF_DYNAMIC_INTERPRETER changes for FreeBSD
- To: obrien at FreeBSD dot org
- Subject: Re: ELF_DYNAMIC_INTERPRETER changes for FreeBSD
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 11 Apr 2000 23:31:08 -0700
- CC: binutils at sourceware dot cygnus dot com
- References: <20000411202714.A92440@dragon.nuxi.com>
Date: Tue, 11 Apr 2000 20:27:14 -0700
From: "David O'Brien" <obrien@FreeBSD.org>
FreeBSD uses a different name for it's ELF_DYNAMIC_INTERPRETER than the
values currently used by Binutils.
2000-04-11 David O'Brien <obrien@FreeBSD.org>
* elf32-i386.c (ELF_DYNAMIC_INTERPRETER): Handle FreeBSD.
* elf64-alpha.c (ELF_DYNAMIC_INTERPRETER): Likewise.
Besides the fact that testing using #ifdef is wrong, I think this is
the wrong approach anyhow. Just use an appropriate --dynamic-linker
option when you link. Even if you have a compiler other than gcc,
there must be some way to control the linker options.
BFD uses the dynamic interpreters specified in the ELF ABI. I don't
see any reason for it to do anything else by default.
Ian