forked from pool/binutils
08a0196e76
are upstream ( aarch64-biarch.patch, aarch64-dynamic-placement.patch, aarch64-execstack.patch, aarch64-gc-section-support.patch, aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff, aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff, binutils-2.22-objalloc.patch, binutils-2.23.2.tar.bz2, binutils-2.23.52.0.1-64-bit-thin-archives.patch, s390-machinemode.patch, warning-symbol-sections.patch). OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=143
24 lines
774 B
Diff
24 lines
774 B
Diff
Index: ld/emulparams/elf_s390.sh
|
|
===================================================================
|
|
--- ld/emulparams/elf_s390.sh.orig 2013-01-10 21:08:02.000000000 +0100
|
|
+++ ld/emulparams/elf_s390.sh 2013-09-20 15:20:48.000000000 +0200
|
|
@@ -12,3 +12,18 @@ GENERATE_SHLIB_SCRIPT=yes
|
|
GENERATE_PIE_SCRIPT=yes
|
|
NO_SMALL_DATA=yes
|
|
IREL_IN_PLT=
|
|
+
|
|
+# 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
|