SHA256
3
0
forked from pool/binutils
binutils/s390-biarch.diff
Michael Matz afea8f6d7a Accepting request 671129 from home:marxin:branches:devel:gcc
- Update to binutils 2.32:
    * The binutils now support for the C-SKY processor series.
    * The x86 assembler now supports a -mvexwig=[0|1] option to control
      encoding of VEX.W-ignored (WIG) VEX instructions.
      It also has a new -mx86-used-note=[yes|no] option to generate (or
      not) x86 GNU property notes.  
    * The MIPS assembler now supports the Loongson EXTensions R2 (EXT2),
      the Loongson EXTensions (EXT) instructions, the Loongson Content
      Address Memory (CAM) ASE and the Loongson MultiMedia extensions
      Instructions (MMI) ASE.
    * The addr2line, c++filt, nm and objdump tools now have a default
      limit on the maximum amount of recursion that is allowed whilst
      demangling strings.  This limit can be disabled if necessary.
    * Objdump's --disassemble option can now take a parameter,
      specifying the starting symbol for disassembly.  Disassembly will
      continue from this symbol up to the next symbol or the end of the
      function.
    * The BFD linker will now report property change in linker map file
      when merging GNU properties.
    * The BFD linker's -t option now doesn't report members within
      archives, unless -t is given twice.  This makes it more useful
      when generating a list of files that should be packaged for a
      linker bug report.
    * The GOLD linker has improved warning messages for relocations that
      refer to discarded sections.
- Remove binutils-2.31-branch.diff.gz, fix-pr23919-[123].diff,
  gold-depend-on-opcodes.diff and s390-relro.diff.
- Refresh binutils-skip-rpaths.patch, s390-biarch.diff, cross-avr-size.patch
  and binutils-revert-plt32-in-branches.diff.
- Update to binutils 2.32:
    * The binutils now support for the C-SKY processor series.
    * The x86 assembler now supports a -mvexwig=[0|1] option to control
      encoding of VEX.W-ignored (WIG) VEX instructions.
      It also has a new -mx86-used-note=[yes|no] option to generate (or
      not) x86 GNU property notes.  
    * The MIPS assembler now supports the Loongson EXTensions R2 (EXT2),
      the Loongson EXTensions (EXT) instructions, the Loongson Content
      Address Memory (CAM) ASE and the Loongson MultiMedia extensions
      Instructions (MMI) ASE.
    * The addr2line, c++filt, nm and objdump tools now have a default
      limit on the maximum amount of recursion that is allowed whilst
      demangling strings.  This limit can be disabled if necessary.
    * Objdump's --disassemble option can now take a parameter,
      specifying the starting symbol for disassembly.  Disassembly will
      continue from this symbol up to the next symbol or the end of the
      function.
    * The BFD linker will now report property change in linker map file
      when merging GNU properties.
    * The BFD linker's -t option now doesn't report members within
      archives, unless -t is given twice.  This makes it more useful
      when generating a list of files that should be packaged for a
      linker bug report.
    * The GOLD linker has improved warning messages for relocations that
      refer to discarded sections.
- Remove binutils-2.31-branch.diff.gz, fix-pr23919-[123].diff,
  gold-depend-on-opcodes.diff and s390-relro.diff.
- Refresh binutils-skip-rpaths.patch, s390-biarch.diff, cross-avr-size.patch
  and binutils-revert-plt32-in-branches.diff.

OBS-URL: https://build.opensuse.org/request/show/671129
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=294
2019-02-04 14:23:14 +00:00

24 lines
692 B
Diff

diff --git a/ld/emulparams/elf_s390.sh b/ld/emulparams/elf_s390.sh
index 39c746c866..6e25a01e70 100644
--- ld/emulparams/elf_s390.sh
+++ ld/emulparams/elf_s390.sh
@@ -13,3 +13,18 @@ GENERATE_PIE_SCRIPT=yes
NO_SMALL_DATA=yes
SEPARATE_GOTPLT=12
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