This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] s390x dynamic linker
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Hartmut Penner <HPENNER at de dot ibm dot com>, Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>, Martin Schwidefsky <schwidefsky at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 23 Jan 2004 12:29:34 +0100
- Subject: [PATCH] s390x dynamic linker
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
When 64-bit libraries live now in */lib64 on s390x, shouldn't
the dynamic linker be /lib64/ld64.so.1 as well?
We're using similar patch in RHEL3 already and AFAIK glibc by default
will install /lib64/ld64.so.1 as well. Obviously
/lib/ld64.so.1 -> /lib64/ld64.so.1 symlink is needed for compatibility
with old GCCs.
2003-01-17 Jakub Jelinek <jakub@redhat.com>
* config/s390/linux.h (LINK_ARCH64_SPEC): Change 64-bit dynamic
linker to /lib64/ld64.so.1.
--- gcc/config/s390/linux.h 9 Oct 2002 10:29:32 -0000 1.13.2.5.8.1
+++ gcc/config/s390/linux.h 17 Jan 2003 18:54:04 -0000 1.13.2.5.8.2
@@ -87,7 +87,7 @@ Software Foundation, 59 Temple Place - S
%{rdynamic:-export-dynamic} \
%{!dynamic-linker: \
%{m31:-dynamic-linker /lib/ld.so.1} \
- %{m64:-dynamic-linker /lib/ld64.so.1}}}}"
+ %{m64:-dynamic-linker /lib64/ld64.so.1}}}}"
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
Jakub