- Update to 2.23.90 prerelease, remove patches that
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
2013-09-20 17:57:46 +02:00
|
|
|
Index: bfd/elf32-s390.c
|
|
|
|
===================================================================
|
2016-01-27 15:25:21 +01:00
|
|
|
--- bfd/elf32-s390.c.orig 2016-01-25 09:51:06.000000000 +0100
|
|
|
|
+++ bfd/elf32-s390.c 2016-01-27 15:24:52.947115619 +0100
|
- Update to binutils 2.28
* Add --fix-stm32l4xx-629360 to the ARM linker to enable a link-time
workaround for a bug in the bus matrix / memory controller for some of
the STM32 Cortex-M4 based products (STM32L4xx)
* Add a configure option --enable-compressed-debug-sections={all,ld} to
decide whether DWARF debug sections should be compressed by default.
* Add support for the ARC EM/HS, and ARC600/700 architectures.
* Experimental support for linker garbage collection (--gc-sections)
has been enabled for COFF and PE based targets.
* New command line option for ELF targets to compress DWARF debug
sections, --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
* New command line option, --orphan-handling=[place|warn|error|discard], to
adjust how orphan sections are handled. The default is 'place' which gives
the current behaviour, 'warn' and 'error' issue a warning or error
respectively when orphan sections are found, and 'discard' will discard all
orphan sections.
* Add support for LLVM plugin.
* Add --print-memory-usage option to report memory blocks usage.
* Add --require-defined option, it's like --undefined except the new symbol
must be defined by the end of the link.
* Add a configure option --enable-compressed-debug-sections={all,gas} to
decide whether DWARF debug sections should be compressed by default.
* Add support for the ARC EM/HS, and ARC600/700 architectures. Remove
assembler support for Argonaut RISC architectures.
* Add option to objcopy to insert new symbols into a file:
--add-symbol <name>=[<section>:]<value>[,<flags>]
* Add support for the ARC EM/HS, and ARC600/700 architectures.
* Extend objcopy --compress-debug-sections option to support
--compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
targets.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=200
2016-01-27 14:17:46 +01:00
|
|
|
@@ -2782,6 +2782,27 @@ elf_s390_relocate_section (bfd *output_b
|
- Update to 2.23.90 prerelease, remove patches that
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
2013-09-20 17:57:46 +02:00
|
|
|
case R_390_PC24DBL:
|
2013-04-03 15:09:27 +02:00
|
|
|
case R_390_PC32DBL:
|
|
|
|
case R_390_PC32:
|
|
|
|
+ /* This is strictly required only for PC32DBL, which
|
|
|
|
+ is not handled by ld.so, but let's be helpful to the user also
|
|
|
|
+ in the other cases. */
|
2016-01-27 15:25:21 +01:00
|
|
|
+ if (bfd_link_pic (info)
|
2013-04-03 15:09:27 +02:00
|
|
|
+ && !SYMBOL_REFERENCES_LOCAL (info, h)
|
|
|
|
+ && (input_section->flags & SEC_ALLOC) != 0
|
|
|
|
+ && (input_section->flags & SEC_READONLY) != 0
|
|
|
|
+ && (!h->def_regular
|
|
|
|
+ || r_type != R_390_PC32DBL
|
|
|
|
+ || h->type != STT_FUNC
|
|
|
|
+ || ELF_ST_VISIBILITY (h->other) != STV_PROTECTED))
|
|
|
|
+ {
|
|
|
|
+ (*_bfd_error_handler)
|
2022-10-25 16:40:05 +02:00
|
|
|
+ (_("%pB: relocation %s against `%s' can not be used when "
|
- Update to binutils 2.28
* Add --fix-stm32l4xx-629360 to the ARM linker to enable a link-time
workaround for a bug in the bus matrix / memory controller for some of
the STM32 Cortex-M4 based products (STM32L4xx)
* Add a configure option --enable-compressed-debug-sections={all,ld} to
decide whether DWARF debug sections should be compressed by default.
* Add support for the ARC EM/HS, and ARC600/700 architectures.
* Experimental support for linker garbage collection (--gc-sections)
has been enabled for COFF and PE based targets.
* New command line option for ELF targets to compress DWARF debug
sections, --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
* New command line option, --orphan-handling=[place|warn|error|discard], to
adjust how orphan sections are handled. The default is 'place' which gives
the current behaviour, 'warn' and 'error' issue a warning or error
respectively when orphan sections are found, and 'discard' will discard all
orphan sections.
* Add support for LLVM plugin.
* Add --print-memory-usage option to report memory blocks usage.
* Add --require-defined option, it's like --undefined except the new symbol
must be defined by the end of the link.
* Add a configure option --enable-compressed-debug-sections={all,gas} to
decide whether DWARF debug sections should be compressed by default.
* Add support for the ARC EM/HS, and ARC600/700 architectures. Remove
assembler support for Argonaut RISC architectures.
* Add option to objcopy to insert new symbols into a file:
--add-symbol <name>=[<section>:]<value>[,<flags>]
* Add support for the ARC EM/HS, and ARC600/700 architectures.
* Extend objcopy --compress-debug-sections option to support
--compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
targets.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=200
2016-01-27 14:17:46 +01:00
|
|
|
+ "making a shared object; recompile with -fPIC"),
|
2013-04-03 15:09:27 +02:00
|
|
|
+ input_bfd, elf_howto_table[r_type].name,
|
|
|
|
+ h->root.root.string);
|
|
|
|
+ bfd_set_error (bfd_error_bad_value);
|
2021-07-22 17:42:08 +02:00
|
|
|
+ return false;
|
2013-04-03 15:09:27 +02:00
|
|
|
+ }
|
|
|
|
+
|
|
|
|
if (h != NULL
|
|
|
|
&& s390_is_ifunc_symbol_p (h)
|
- Update to binutils 2.28
* Add --fix-stm32l4xx-629360 to the ARM linker to enable a link-time
workaround for a bug in the bus matrix / memory controller for some of
the STM32 Cortex-M4 based products (STM32L4xx)
* Add a configure option --enable-compressed-debug-sections={all,ld} to
decide whether DWARF debug sections should be compressed by default.
* Add support for the ARC EM/HS, and ARC600/700 architectures.
* Experimental support for linker garbage collection (--gc-sections)
has been enabled for COFF and PE based targets.
* New command line option for ELF targets to compress DWARF debug
sections, --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
* New command line option, --orphan-handling=[place|warn|error|discard], to
adjust how orphan sections are handled. The default is 'place' which gives
the current behaviour, 'warn' and 'error' issue a warning or error
respectively when orphan sections are found, and 'discard' will discard all
orphan sections.
* Add support for LLVM plugin.
* Add --print-memory-usage option to report memory blocks usage.
* Add --require-defined option, it's like --undefined except the new symbol
must be defined by the end of the link.
* Add a configure option --enable-compressed-debug-sections={all,gas} to
decide whether DWARF debug sections should be compressed by default.
* Add support for the ARC EM/HS, and ARC600/700 architectures. Remove
assembler support for Argonaut RISC architectures.
* Add option to objcopy to insert new symbols into a file:
--add-symbol <name>=[<section>:]<value>[,<flags>]
* Add support for the ARC EM/HS, and ARC600/700 architectures.
* Extend objcopy --compress-debug-sections option to support
--compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
targets.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=200
2016-01-27 14:17:46 +01:00
|
|
|
&& h->def_regular
|