This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] s390x dynamic linker


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


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