From d8b6bfecafe246306db6493c056d8bcb91122e68 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Thu, 24 Feb 2000 05:46:27 +0000 Subject: 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 Approved by: jkh --- contrib/binutils/bfd/elf32-i386.c | 4 +++- 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 4500c63cb169..ee18864be070 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 31cd43a55a40..2d4f221585d9 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. -- cgit v1.3