This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Set the default x32 interpreter to "/lib/ldx32.so.1"
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Thu, 15 Dec 2011 09:30:53 -0800
- Subject: PATCH: Set the default x32 interpreter to "/lib/ldx32.so.1"
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
I checked in this patch to set the default x32 interpreter to
"/lib/ldx32.so.1". It shouldn't affect anything since we always
pass --dynamic-linker to ld for x32.
H.J.
--
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8acd171..3048a1a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf64-x86-64.c (ELF32_DYNAMIC_INTERPRETER): Set to
+ "/lib/ldx32.so.1".
+
2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
* mach-o.c (bfd_mach_o_mkobject_init): Initialize dyn_reloc_cache.
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 2206dd4..a4dfd48 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -513,7 +513,7 @@ elf_x86_64_write_core_note (bfd *abfd, char *buf, int *bufsiz,
section. */
#define ELF64_DYNAMIC_INTERPRETER "/lib/ld64.so.1"
-#define ELF32_DYNAMIC_INTERPRETER "/lib/ld32.so.1"
+#define ELF32_DYNAMIC_INTERPRETER "/lib/ldx32.so.1"
/* If ELIMINATE_COPY_RELOCS is non-zero, the linker will try to avoid
copying dynamic variables from a shared lib into an app's dynbss