summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-04-12 03:43:09 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-04-12 03:43:09 +0000
commit75d7a3c3bcc484a11b03d56e7f6e019cbd64e5c9 (patch)
tree860e928b08f40e064cb4987f7129ebf63604cf95
parentba6614d32c0a7f6c6ec78fd497abb41c986960c2 (diff)
Notes
-rw-r--r--contrib/binutils/bfd/elf32-i386.c4
-rw-r--r--contrib/binutils/bfd/elf64-alpha.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/contrib/binutils/bfd/elf32-i386.c b/contrib/binutils/bfd/elf32-i386.c
index ee18864be070..1a3e0e6779a3 100644
--- a/contrib/binutils/bfd/elf32-i386.c
+++ b/contrib/binutils/bfd/elf32-i386.c
@@ -251,7 +251,11 @@ elf_i386_is_local_label_name (abfd, name)
/* The name of the dynamic interpreter. This is put in the .interp
section. */
+#if defined(__FreeBSD__)
#define ELF_DYNAMIC_INTERPRETER "/usr/libexec/ld-elf.so.1"
+#else
+#define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1"
+#endif
/* 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 2d4f221585d9..c7963da73fed 100644
--- a/contrib/binutils/bfd/elf64-alpha.c
+++ b/contrib/binutils/bfd/elf64-alpha.c
@@ -1032,7 +1032,11 @@ elf64_alpha_info_to_howto (abfd, cache_ptr, dst)
#define MAX_GOT_ENTRIES (64*1024 / 8)
+#if defined(__FreeBSD__)
#define ELF_DYNAMIC_INTERPRETER "/usr/libexec/ld-elf.so.1"
+#else
+#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so"
+#endif
/* Handle an Alpha specific section when reading an object file. This
is called when elfcode.h finds a section with an unknown type.