diff options
author | jdp <jdp@FreeBSD.org> | 2000-02-24 05:46:27 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2000-02-24 05:46:27 +0000 |
commit | 961e2c4b6820bfdcb96be5707e8606f62dbda1e6 (patch) | |
tree | a32acce116eda74218afa5a1800ddad43ceda18d /contrib/binutils/bfd | |
parent | 60e3ab891f0ec88ddfc56cfe6b2e933e23542dd7 (diff) | |
download | FreeBSD-src-961e2c4b6820bfdcb96be5707e8606f62dbda1e6.zip FreeBSD-src-961e2c4b6820bfdcb96be5707e8606f62dbda1e6.tar.gz |
Make the default dynamic linker pathname correct for FreeBSD.
I had resisted this for a while because I didn't want to take these
file off the vendor branch. But it turns out they were already off
the vendor branch anyway.
PR: gnu/9987
Submitted by: Vladimir Kushnir <kushn@mail.kar.net>
Approved by: jkh
Diffstat (limited to 'contrib/binutils/bfd')
-rw-r--r-- | contrib/binutils/bfd/elf32-i386.c | 4 | ||||
-rw-r--r-- | contrib/binutils/bfd/elf64-alpha.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/contrib/binutils/bfd/elf32-i386.c b/contrib/binutils/bfd/elf32-i386.c index 4500c63..ee18864 100644 --- a/contrib/binutils/bfd/elf32-i386.c +++ b/contrib/binutils/bfd/elf32-i386.c @@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* $FreeBSD$ */ + #include "bfd.h" #include "sysdep.h" #include "bfdlink.h" @@ -249,7 +251,7 @@ elf_i386_is_local_label_name (abfd, name) /* The name of the dynamic interpreter. This is put in the .interp section. */ -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1" +#define ELF_DYNAMIC_INTERPRETER "/usr/libexec/ld-elf.so.1" /* The size in bytes of an entry in the procedure linkage table. */ diff --git a/contrib/binutils/bfd/elf64-alpha.c b/contrib/binutils/bfd/elf64-alpha.c index 31cd43a..2d4f221 100644 --- a/contrib/binutils/bfd/elf64-alpha.c +++ b/contrib/binutils/bfd/elf64-alpha.c @@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* $FreeBSD$ */ + /* We need a published ABI spec for this. Until one comes out, don't assume this'll remain unchanged forever. */ @@ -1030,7 +1032,7 @@ elf64_alpha_info_to_howto (abfd, cache_ptr, dst) #define MAX_GOT_ENTRIES (64*1024 / 8) -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so" +#define ELF_DYNAMIC_INTERPRETER "/usr/libexec/ld-elf.so.1" /* Handle an Alpha specific section when reading an object file. This is called when elfcode.h finds a section with an unknown type. |