[Committed] S/390: Fix dynamic linker paths
Andreas Krebbel
krebbel@linux.vnet.ibm.com
Fri Apr 20 13:22:00 GMT 2012
Hi,
it is not that important since GCC does anyway always override these
values but the current paths simply look too bogus.
Committed to mainline.
Bye,
-Andreas-
2012-04-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* elf32-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default.
* elf64-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default.
---
bfd/elf32-s390.c | 2 +-
bfd/elf64-s390.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: bfd/elf32-s390.c
===================================================================
--- bfd/elf32-s390.c.orig
+++ bfd/elf32-s390.c
@@ -470,7 +470,7 @@ elf_s390_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/ld.so.1"
+#define ELF_DYNAMIC_INTERPRETER "/lib/ld.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
Index: bfd/elf64-s390.c
===================================================================
--- bfd/elf64-s390.c.orig
+++ bfd/elf64-s390.c
@@ -493,7 +493,7 @@ elf_s390_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/ld.so.1"
+#define ELF_DYNAMIC_INTERPRETER "/lib/ld64.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
More information about the Binutils
mailing list