aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-12-15 17:30:58 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-12-15 17:30:58 +0000
commiteec9dd95aae8be2f23009427dbd6d276edcc363a (patch)
tree5961f09f02e416267d492b2a2683ced564d33f2b
parentb5b445a33a1bb6289e01fa1a3a417b7e818494ad (diff)
downloadgdb-eec9dd95aae8be2f23009427dbd6d276edcc363a.zip
gdb-eec9dd95aae8be2f23009427dbd6d276edcc363a.tar.gz
gdb-eec9dd95aae8be2f23009427dbd6d276edcc363a.tar.bz2
Set the default x32 interpreter to "/lib/ldx32.so.1"
2011-12-15 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (ELF32_DYNAMIC_INTERPRETER): Set to "/lib/ldx32.so.1".
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-x86-64.c2
2 files changed, 6 insertions, 1 deletions
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