This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Set the default x32 interpreter to "/lib/"


I checked in this patch to set the default x32 interpreter to
"/lib/".  It shouldn't affect anything since we always
pass --dynamic-linker to ld for x32.

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  <>
+	* elf64-x86-64.c (ELF32_DYNAMIC_INTERPRETER): Set to
+	 "/lib/".
 2011-12-15  Iain Sandoe  <>
 	* 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/"
-#define ELF32_DYNAMIC_INTERPRETER "/lib/"
+#define ELF32_DYNAMIC_INTERPRETER "/lib/"
 /* 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]