SHA256
6
0
forked from pool/binutils
OBS User unknown
2007-10-09 02:28:58 +00:00
committed by Git OBS Bridge
commit 9209b74914
54 changed files with 52257 additions and 0 deletions

21
s390-biarch.diff Normal file
View File

@@ -0,0 +1,21 @@
--- ld/emulparams/elf_s390.sh
+++ ld/emulparams/elf_s390.sh
@@ -11,3 +11,18 @@
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
NO_SMALL_DATA=yes
+
+# Treat a host that matches the target with the possible exception of "x"
+# in the name as if it were native.
+if test `echo "$host" | sed -e s/x//` = `echo "$target" | sed -e s/x//`; then
+ case " $EMULATION_LIBPATH " in
+ *" ${EMULATION_NAME} "*)
+ NATIVE=yes
+ ;;
+ esac
+fi
+
+# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
+case "$EMULATION_NAME" in
+ *64*) LIBPATH_SUFFIX=64 ;;
+esac