Compare commits

..

138 Commits

Author SHA256 Message Date
Ana Guerrero
0b92143ab3 Accepting request 1235669 from devel:gcc
- Unset SUSE_ZNOW while running testsuite, many tests cannot cope (forwarded request 1231723 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1235669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=175
2025-01-09 14:04:09 +00:00
Michael Matz
ea6705f235 - Unset SUSE_ZNOW while running testsuite, many tests cannot cope
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=484
2025-01-07 16:15:39 +00:00
Ana Guerrero
1100ed340e Accepting request 1229830 from devel:gcc
This gives us loongarch, new s390 insns (for SLE), and for now
avoid the issue with zstd we had in the last submission (by not
using it by default).  It's also what is going to be in SLE-15
soon.

- Update to current 2.43.1 branch [PED-10254, PED-10306]:
  * s390 - Add arch15 instructions
  * various fixes from upstream: PR32153, PR32171, PR32189,
    PR32196, PR32191, PR32109, PR32372, PR32387
- Adjusted binutils-2.43-branch.diff.gz.
- Disable zstd-by-default again (needs adjustments in at least
  golang,llvm15,llvm17 first)
- Add binutils-fix-branch.diff.
- Check non-changing of flex/bison inputs only after applying
  branch and fix-branch diffs.

- drop ld-relro.diff (relro is the default for some time)
  and it warns on avr spuriously (bsc#1233520)

- Add loongarch64 as new target

- Enable zstd compression algorithm (instead of zlib)
  for debug info sections by default.

OBS-URL: https://build.opensuse.org/request/show/1229830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=174
2024-12-11 20:01:22 +00:00
Michael Matz
37d03cdb94 - Disable zstd-by-default again (needs adjustments in at least
golang,llvm15,llvm17 first)
- Add binutils-fix-branch.diff.
- Check non-changing of flex/bison inputs only after applying
  branch and fix-branch diffs.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=482
2024-12-09 15:54:38 +00:00
Michael Matz
89ba785707 - Update to current 2.43.1 branch [PED-10254, PED-10306]:
* s390 - Add arch15 instructions
  * various fixes from upstream: PR32153, PR32171, PR32189,
    PR32196, PR32191, PR32109, PR32372, PR32387
- Adjusted binutils-2.43-branch.diff.gz.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=481
2024-12-09 14:59:58 +00:00
Richard Biener
a2d6bc201e - Add loongarch64 as new target
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=480
2024-11-26 10:31:59 +00:00
Richard Biener
38e0c73256 - drop ld-relro.diff (relro is the default for some time)
and it warns on avr spuriously (bsc#1233520)

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=479
2024-11-26 10:31:08 +00:00
Michael Matz
5b00f2f6a7 Accepting request 1199785 from home:martinliska:branches:devel:gcc
- Enable zstd compression algorithm (instead of zlib)
  for debug info sections by default.

OBS-URL: https://build.opensuse.org/request/show/1199785
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=478
2024-10-14 13:27:39 +00:00
Dominique Leuenberger
06651c198a Accepting request 1197005 from devel:gcc
- Update to current 2.43.1 branch [PED-10474]:
  * PR32109 - fuzzing problem
  * PR32083 - LTO vs overridden common symbols
  * PR32067 - crash with LTO-plugin and --oformat=binary
  * PR31956 - LTO vs wrapper symbols
  * riscv - add Zimop and Zcmop extensions
- Adjusted binutils-2.43-branch.diff.gz.

OBS-URL: https://build.opensuse.org/request/show/1197005
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=173
2024-08-30 11:25:36 +00:00
Michael Matz
6ab53898b4 - Update to current 2.43.1 branch [PED-10474]:
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=476
2024-08-28 13:31:37 +00:00
Michael Matz
1e122fb9d2 - Update to current 2.43.1 branch:
* PR32109 - fuzzing problem
  * PR32083 - LTO vs overridden common symbols
  * PR32067 - crash with LTO-plugin and --oformat=binary
  * PR31956 - LTO vs wrapper symbols
  * riscv - add Zimop and Zcmop extensions
- Adjusted binutils-2.43-branch.diff.gz.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=475
2024-08-28 13:25:33 +00:00
Dominique Leuenberger
c5ee3b00af Accepting request 1193447 from devel:gcc
- Update to version 2.43: 
  * new .base64 pseudo-op, allowing base64 encoded data as strings
  * Intel APX: add support for CFCMOV, CCMP, CTEST, zero-upper, NF
    (APX_F now fully supported)
  * x86 Intel syntax now warns about more mnemonic suffixes
  * macros and .irp/.irpc/.rept bodies can use \+ to get at number
    of times the macro/body was executed
  * aarch64: support 'armv9.5-a' for -march, add support for LUT
    and LUT2
  * s390: base register operand in D(X,B) and D(L,B) can now be
    omitted (ala 'D(X,)'); warn when register type doesn't match
    operand type (use option
    'warn-regtype-mismatch=[strict|relaxed|no]' to adjust)
  * riscv: support various extensions: Zacas, Zcmp, Zfbfmin,
    Zvfbfmin, Zvfbfwma, Smcsrind/Sscsrind, XCvMem, XCvBi, XCvElw,
    XSfCease, all at version 1.0;
    remove support for assembly of privileged spec 1.9.1 (linking
    support remains)
  * arm: remove support for some old co-processors: Maverick and FPA
  * mips: '--trap' now causes either trap or breakpoint instructions
    to be emitted as per current ISA, instead of always using trap
    insn and failing when current ISA was incompatible with that
  * LoongArch: accept .option pseudo-op for fine-grained control
    of assembly code options; add support for DT_RELR
  * readelf: now displays RELR relocations in full detail;
    add -j/--display-section to show just those section(s) content
    according to their type
  * objdump/readelf now dump also .eh_frame_hdr (when present) when
    dumping .eh_frame
  * gprofng: add event types for AMD Zen3/Zen4 and Intel Ice Lake

OBS-URL: https://build.opensuse.org/request/show/1193447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=172
2024-08-13 11:21:41 +00:00
Michael Matz
51ff8f742a Nicer changelog.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=473
2024-08-12 14:15:41 +00:00
Michael Matz
09caadc22b Blaeh, also rebase the patches for old codestreams
* Rebased ld-relro.diff and binutils-revert-rela.diff.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=472
2024-08-06 14:51:59 +00:00
Michael Matz
f32da6f20f - Update to version 2.43:
* new .base64 pseudo-op, allowing base64 encoded data as strings
* Intel APX: add support for CFCMOV, CCMP, CTEST, zero-upper, NF
  (APX_F now fully supported)
* x86 Intel syntax now warns about more mnemonic suffixes
* macros and .irp/.irpc/.rept bodies can use \+ to get at number of times
  the macro/body was executed
* aarch64: support 'armv9.5-a' for -march, add support for LUT and LUT2
* s390: base register operand in D(X,B) and D(L,B) can now be omitted
  (ala 'D(X,)'); warn when register type doesn't match operand type
  (use option 'warn-regtype-mismatch=[strict|relaxed|no]' to adjust)
* riscv: support various extensions: Zacas, Zcmp, Zfbfmin, Zvfbfmin,
  Zvfbfwma, Smcsrind/Sscsrind, XCvMem, XCvBi, XCvElw, XSfCease, all at
  version 1.0;
  remove support for assembly of privileged spec 1.9.1 (linking support
  remains)
* arm: remove support for some old co-processors: Maverick and FPA
* mips: '--trap' now causes either trap or breakpoint instructions to
  be emitted as per current ISA, instead of always using trap insn
  and failing when current ISA was incompatible with that
* LoongArch: accept .option pseudo-op for fine-grained control
  of assembly code options; add support for DT_RELR
* readelf: now displays RELR relocations in full detail;
  add -j/--display-section to show just those section(s) content
  according to their type
* objdump/readelf now dump also .eh_frame_hdr (when present) when
  dumping .eh_frame
* gprofng: add event types for AMD Zen3/Zen4 and Intel Ice Lake processors;
  add minimal support for riscv
* linker:

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=471
2024-08-06 14:38:53 +00:00
Ana Guerrero
a535d8569e Accepting request 1183197 from devel:gcc
- binutils-pr22868.diff: Remove obsolete patch
- Undefine _FORTIFY_SOURCE when running checks (forwarded request 1180350 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1183197
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=171
2024-06-27 13:57:39 +00:00
Michael Matz
5e537ebd6d - binutils-pr22868.diff: Remove obsolete patch
- Undefine _FORTIFY_SOURCE when running checks

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=469
2024-06-25 14:23:41 +00:00
Ana Guerrero
20c893709d Accepting request 1171312 from devel:gcc
Allow to disable profiling
there were some variations in .gcda files
that rarely could lead to variations in optimized finaly binaries (forwarded request 1171128 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/1171312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=170
2024-05-03 17:44:17 +00:00
Ana Guerrero
c3a490c0a5 Accepting request 1148804 from devel:gcc
- riscv-no-relax.patch: RISC-V: Don't generate branch/jump relocation if
  symbol is local when no-relax (forwarded request 1148803 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1148804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=169
2024-02-23 15:40:10 +00:00
Ana Guerrero
9bf70195f2 Accepting request 1144349 from devel:gcc
- Add binutils-disable-code-arch-error.diff to demote an
  error about swapped .arch/.code directives to a warning.
  It happens in the wild.

- Update to version 2.42:
* Add support for many aarch64 extensions: SVE2.1, SME2.1, B16B16,
  RASv2, LSE128, GCS, CHK, SPECRES2, LRCPC3, THE, ITE, D128, XS and
  flags to enable them: '+fcma', '+jscvt', '+frintts', '+flagm2',
  '+rcpc2' and '+wfxt'
* Add experimantal support for GAS to synthesize call-frame-info for
  some hand-written asm (--scfi=experimental) on x86-64.
* Add support for more x86-64 extensions: APX: 32 GPRs, NDD, PUSH2/POP2,
  PUSHP/POPP; USER_MSR, AVX10.1, PBNDKB, SM4, SM3, SHA512, AVX-VNNI-INT16.
* Add support for more RISC-V extensions: T-Head v2.3.0, CORE-V v1.0,
  SiFive VCIX v1.0.
* BPF assembler: ';' separates statements now, and does not introduce
  line comments anymore (use '#' or '//' for this).
* x86-64 ld: Add '-z mark-plt/-z nomark-plt' to mark PLT entries with
  dynamic tags.
* risc-v ld: Add '--[no-]check-uleb128'.
* New linker script directive: REVERSE, to be combined with SORT_BY_NAME
  or SORT_BY_INIT_PRIORITY, reverses the generated order.
* New linker options --warn-execstack-objects (warn only about execstack
  when input object files request it), and --error-execstack plus
  --error-rxw-segments to convert the existing warnings into errors.
* objdump: Add -Z/--decompress to be used with -s/--full-contents to
  decompress section contents before displaying.
* readelf: Add --extra-sym-info to be used with --symbols (currently
  prints section name of references section index).
* objcopy: Add --set-section-flags for x86_64 to include

OBS-URL: https://build.opensuse.org/request/show/1144349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=168
2024-02-18 19:20:43 +00:00
Ana Guerrero
e1e98de2a1 Accepting request 1124735 from devel:gcc
This should fix the last fail in Staging, the build of
libQt5WebEngine on i586.  *knockonwood*

- Add binutils-use-less-memory.diff to be a little nicer to 32bit
  userspace and huge links.  [bsc#1216908]

- riscv-relro.patch: RISC-V: Protect .got with relro

- Add libzstd-devel to Requires of binutils-devel. (bsc#1215341)

- Update to version 2.41 [PED-5778]:
* The MIPS port now supports the Sony Interactive Entertainment Allegrex
  processor, used with the PlayStation Portable, which implements the MIPS
  II ISA along with a single-precision FPU and a few implementation-specific
  integer instructions.
* Objdump's --private option can now be used on PE format files to display the
  fields in the file header and section headers.
* New versioned release of libsframe: libsframe.so.1.  This release introduces
  versioned symbols with version node name LIBSFRAME_1.0.  This release also
  updates the ABI in an incompatible way: this includes removal of
  sframe_get_funcdesc_with_addr API, change in the behavior of
  sframe_fre_get_ra_offset and sframe_fre_get_fp_offset APIs.
* SFrame Version 2 is now the default (and only) format version supported by
  gas, ld, readelf and objdump.
* Add command-line option, --strip-section-headers, to objcopy and strip to
  remove ELF section header from ELF file.
* The RISC-V port now supports the following new standard extensions:
  - Zicond (conditional zero instructions)
  - Zfa (additional floating-point instructions)
  - Zvbb, Zvbc, Zvkg, Zvkned, Zvknh[ab], Zvksed, Zvksh, Zvkn, Zvknc, Zvkng,
    Zvks, Zvksc, Zvkg, Zvkt (vector crypto instructions)
* The RISC-V port now supports the following vendor-defined extensions:
  - XVentanaCondOps

OBS-URL: https://build.opensuse.org/request/show/1124735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=167
2023-11-10 11:28:45 +00:00
Dominique Leuenberger
f640d8dd9c Accepting request 1089814 from devel:gcc
- riscv-dynamic-tls-reloc-pie.patch: Backport for PR ld/22263 and PR
  ld/25694
- riscv-pr22263-1.patch: Backport for PR ld/22263 (forwarded request 1089774 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1089814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=166
2023-06-02 22:05:05 +00:00
Dominique Leuenberger
1313a52089 Accepting request 1079086 from devel:gcc
- Rebase branch patch (includes fix for PR30281).

OBS-URL: https://build.opensuse.org/request/show/1079086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=165
2023-04-14 11:12:35 +00:00
Dominique Leuenberger
3585613b10 Accepting request 1073595 from devel:gcc
- Document fixed CVEs:
  * bnc#1208037 aka CVE-2023-25588 aka PR29677
  * bnc#1208038 aka CVE-2023-25587 aka PR29846
  * bnc#1208040 aka CVE-2023-25585 aka PR29892
  * bnc#1208409 aka CVE-2023-0687 aka PR29444

- Enable bpf-none cross target and add bpf-none to the multitarget
  set of supported targets.

- Disable packed-relative-relocs for old codestreams.  They generate
  buggy relocations when binutils-revert-rela.diff is active.
  [bsc#1206556]

OBS-URL: https://build.opensuse.org/request/show/1073595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=164
2023-03-25 17:53:55 +00:00
Dominique Leuenberger
3e6a8bb3ad Accepting request 1067336 from devel:gcc
OBS-URL: https://build.opensuse.org/request/show/1067336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=163
2023-03-02 22:01:45 +00:00
Dominique Leuenberger
916d7ccf74 Accepting request 1062048 from devel:gcc
OBS-URL: https://build.opensuse.org/request/show/1062048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=162
2023-02-21 14:35:25 +00:00
Dominique Leuenberger
6a540076f1 Accepting request 1060656 from devel:gcc
- Remove broken arm32-avoid-copyreloc.patch to fix [gcc#108515]

OBS-URL: https://build.opensuse.org/request/show/1060656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=161
2023-01-27 09:15:03 +00:00
Dominique Leuenberger
f9fb68c014 Accepting request 1060010 from devel:gcc
- fix build on x86_64_vX platforms 

- add arm32-avoid-copyreloc.patch for PR16177 (bsc#1200962) (forwarded request 1060005 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/1060010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=160
2023-01-23 17:30:20 +00:00
Dominique Leuenberger
010f9982df Accepting request 994281 from devel:gcc
- Rebase binutils-2.39-branch.diff.gz that contains fix for PR29451.

- Add binutils-2.39-branch.diff.gz.
- Explicitly enable --enable-warn-execstack=yes and	--enable-warn-rwx-segments=yes.
- Add gprofng subpackage.

- Update to binutils 2.39:
  * The ELF linker will now generate a warning message if the stack is made
    executable.  Similarly it will warn if the output binary contains a
    segment with all three of the read, write and execute permission
    bits set.  These warnings are intended to help developers identify
    programs which might be vulnerable to attack via these executable
    memory regions.
    The warnings are enabled by default but can be disabled via a command
    line option.  It is also possible to build a linker with the warnings
    disabled, should that be necessary.
  * The ELF linker now supports a --package-metadata option that allows
    embedding a JSON payload in accordance to the Package Metadata
    specification. 
  * In linker scripts it is now possible to use TYPE=<type> in an output
    section description to set the section type value.
  * The objdump program now supports coloured/colored syntax
    highlighting of its disassembler output for some architectures.
    (Currently: AVR, RiscV, s390, x86, x86_64).
  * The nm program now supports a --no-weak/-W option to make it ignore
    weak symbols.
  * The readelf and objdump programs now support a -wE option to prevent
    them from attempting to access debuginfod servers when following
    links.
  * The objcopy program's --weaken, --weaken-symbol, and

OBS-URL: https://build.opensuse.org/request/show/994281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=159
2022-08-13 20:36:31 +00:00
Dominique Leuenberger
3b387fedf9 Accepting request 979157 from devel:gcc
- Use https for variosu links.

- Update binutils-2.38-branch.diff.gz (to 93054037f1e304e)
  in order to include PR29087.

- Enable multitarget build on riscv64
- On SLE15 and later, use make -Oline to synchronize configure output by
  lines

OBS-URL: https://build.opensuse.org/request/show/979157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=158
2022-05-27 22:28:03 +00:00
Dominique Leuenberger
ed2b0fdf75 Accepting request 974908 from devel:gcc
- Renumber Sources.

- Fix ExcludeArch for ppc.

- Make multibuild utilize only the main binutils.spec file.
- Remove not needed README.First-for.SUSE.packagers, pre_checkin.sh.

- Start using _multibuild for cross binutils.

OBS-URL: https://build.opensuse.org/request/show/974908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=157
2022-05-06 16:58:04 +00:00
Dominique Leuenberger
6d389b3488 Accepting request 969239 from devel:gcc
- Update binutils-2.38-branch.diff.gz (to c210342d7f5) to include
  recognition of 'z16' name for 'arch14' on s390.  [bsc#1198237]

OBS-URL: https://build.opensuse.org/request/show/969239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=156
2022-04-14 15:22:48 +00:00
Dominique Leuenberger
b8421bbf1f Accepting request 964006 from devel:gcc
- Add usage of a SUSE_ZNOW environment variable which allows switching
  on "-z now" by default using "export SUSE_ZNOW=1", similar to
  the SUSE_ASNEEDED variable.  Adds binutils-znow.patch.

OBS-URL: https://build.opensuse.org/request/show/964006
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=155
2022-03-24 21:56:46 +00:00
Dominique Leuenberger
3376a38904 Accepting request 961607 from devel:gcc
OBS-URL: https://build.opensuse.org/request/show/961607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=154
2022-03-17 16:01:09 +00:00
Dominique Leuenberger
ef3eb8be22 Accepting request 959404 from devel:gcc
OBS-URL: https://build.opensuse.org/request/show/959404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=153
2022-03-05 13:42:56 +00:00
Dominique Leuenberger
b7f0adc4c4 Accepting request 931326 from devel:gcc
OBS-URL: https://build.opensuse.org/request/show/931326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=152
2021-11-17 00:12:25 +00:00
Dominique Leuenberger
4f855bd7fc Accepting request 929013 from devel:gcc
- Rebase binutils-2.37-branch.diff: fixes PR28523 aka boo#1188941.

- Fix empty man-pages from broken release tarball [PR28144].

- Update binutils-skip-rpaths.patch with contained a memory corruption
  (boo#1191473).

- Configure with --disable-x86-used-note on old code streams.
- Disable libalternatives temporarily for build cycle reasons.
- make TARGET-bfd=headers again, we patch bfd-in.h
- This state submitted to SLE12 and SLE15 code streams for annual
  toolchain update. [jsc#PM-2767, jsc#SLE-21561, jsc#SLE-19618]
- Bump binutils-2.37-branch.diff to 66d5c7003, to include fixes for
  PR28422, PR28192, PR28391.  Also adds some s390x arch14
  instructions [jsc#SLE-18637].

- Using libalternatives instead of update-alternatives.

- Adjust for testsuite fails on older products that configure
  binutils in different ways, adds  binutils-compat-old-behaviour.diff
  and adjusts binutils-revert-nm-symversion.diff and
  binutils-revert-plt32-in-branches.diff.

- Rebase binutils-2.37-branch.diff: fixes PR28523 aka boo#1188941.

- Fix empty man-pages from broken release tarball [PR28144].

- Update binutils-skip-rpaths.patch with contained a memory corruption
  (boo#1191473).

OBS-URL: https://build.opensuse.org/request/show/929013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=151
2021-11-06 17:13:03 +00:00
Dominique Leuenberger
2c68c43758 Accepting request 910009 from devel:gcc
- Bump binutils-2.37-branch.diff: fixes PR28138. (forwarded request 910001 from marxin)

OBS-URL: https://build.opensuse.org/request/show/910009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=150
2021-09-17 21:25:22 +00:00
Dominique Leuenberger
336d3b2bc5 Accepting request 892038 from devel:gcc
- ppc-ensure-undef-dynamic-weak-undefined.patch: PPC: ensure_undef_dynamic
  on weak undef only in plt
- ppc-use-local-plt.patch: PowerPC use_local_plt (prerequisite for above
  patch) (forwarded request 891347 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/892038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=149
2021-05-17 16:44:48 +00:00
Richard Brown
614d34b5c1 Accepting request 881490 from devel:gcc
OBS-URL: https://build.opensuse.org/request/show/881490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=148
2021-04-08 19:01:19 +00:00
Dominique Leuenberger
4b405d092b Accepting request 875983 from devel:gcc
- Bump 2.36 branch diff (includes fix for PR27441 aka bsc#1182252). (forwarded request 875982 from marxin)

OBS-URL: https://build.opensuse.org/request/show/875983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=147
2021-03-10 07:48:41 +00:00
Dominique Leuenberger
3ba7b36ed0 Accepting request 869232 from devel:gcc
- Bump 2.36 branch diff. (forwarded request 869133 from marxin)

OBS-URL: https://build.opensuse.org/request/show/869232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=146
2021-02-23 19:17:37 +00:00
Dominique Leuenberger
490068c00c Accepting request 848118 from devel:gcc
- Update to 2.35.1 and rebased branch diff:
  * This is a point release over the previous 2.35 version, containing bug
  fixes, and as an exception to the usual rule, one new feature.  The
  new feature is the support for a new directive in the assembler:
  ".nop".  This directive creates a single no-op instruction in whatever
  encoding is correct for the target architecture.  Unlike the .space or
  .fill this is a real instruction, and it does affect the generation of
  DWARF line number tables, should they be enabled. (forwarded request 848022 from marxin)

OBS-URL: https://build.opensuse.org/request/show/848118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=145
2020-11-23 14:29:36 +00:00
Dominique Leuenberger
687ec5068e Accepting request 834649 from devel:gcc
Sorry, the maintenance checker scripts detected a lost reference
from the SLE changelog, this only updates the .changes file to
contain it.

- Update binutils-2.35-branch.diff.gz to commit 23f268a0:
  * Add xBPF target
  * Fix various problems with DWARF 5 support in gas
- Toolchain module update for SLE15 [jsc#ECO-2373]
- Includes changes that were SLE-only in binutils-add-z15-name.diff
  for [bsc#1160590, jsc#SLE-7903 aka jsc#SLE-7464]

- Add binutils-2.35-branch.diff.gz: it includes fix for
  nm -B for objects compiled with -flto and -fcommon.

- Add binutils-revert-nm-symversion.diff to be compatible with old
  output of nm relied on in scripts.
- Add binutils-fix-abierrormsg.diff to work around an eager (new)
  error message occuring without inputs and as-needed (affects
  nvme-cli build).

- Update to binutils 2.35:
  * The asseembler can now produce DWARF-5 format line number tables.
  * Readelf now has a "lint" mode to enable extra checks of the files it is processing.
  * Readelf will now display "[...]" when it has to truncate a symbol name.  
    The old behaviour - of displaying as many characters as possible, up to
    the 80 column limit - can be restored by the use of the --silent-truncation
    option.
  * The linker can now produce a dependency file listing the inputs that it
    has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.

OBS-URL: https://build.opensuse.org/request/show/834649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=144
2020-11-07 20:00:38 +00:00
Dominique Leuenberger
ce313dac08 Accepting request 788599 from devel:gcc
- Update binutils-2.34-branch.diff.gz.

- Remove fix-try_load_plugin.patch as it is part
  of the updated binutils-2.34-branch.diff.gz patch.

- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto
  [bsc#1163744]

- Update fix-try_load_plugin.patch to latest version.

- Add fix-try_load_plugin.patch in order to fix fallback caused
  by backport for PR25355.

- Update to binutils 2.34:
  * The disassembler (objdump --disassemble) now has an option to
    generate ascii art thats show the arcs between that start and end
    points of control flow instructions.
  * The binutils tools now have support for debuginfod.  Debuginfod is a 
    HTTP service for distributing ELF/DWARF debugging information as
    well as source code.  The tools can now connect to debuginfod
    servers in order to download debug information about the files that
    they are processing.
  * The assembler and linker now support the generation of ELF format
    files for the Z80 architecture.
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
  cross-avr-size.patch and binutils-skip-rpaths.patch.
- Add new subpackages for libctf and libctf-nobfd.
- Disable LTO due to boo#1163333.
- Includes fixes for these CVEs:

OBS-URL: https://build.opensuse.org/request/show/788599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=143
2020-03-30 20:51:46 +00:00
Dominique Leuenberger
3255b13341 Accepting request 761640 from devel:gcc
- Disable LTO during testsuite run (forwarded request 761623 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/761640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=142
2020-01-10 17:40:13 +00:00
Dominique Leuenberger
7aeb895ca4 Accepting request 751311 from devel:gcc
(In comparison to sr#751060 this merely adds a reference to
bsc#1157755)

- Add binutils-fix-invalid-op-errata.diff to fix various
  build fails on aarch64 (PR25210, bsc#1157755).

OBS-URL: https://build.opensuse.org/request/show/751311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=141
2019-12-07 14:11:34 +00:00
Dominique Leuenberger
c027d34d43 Accepting request 748099 from devel:gcc
- Update to binutils 2.33.1:
  * Adds support for the Arm Scalable Vector Extension version 2
    (SVE2) instructions, the Arm Transactional Memory Extension (TME)
    instructions and the Armv8.1-M Mainline and M-profile Vector
    Extension (MVE) instructions.
  * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P
    processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE,
    Cortex-A76AE, and Cortex-A77 processors.
  * Adds a .float16 directive for both Arm and AArch64 to allow
    encoding of 16-bit floating point literals.
  * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not)
    Loongson3 LLSC Errata.  Add a --enable-mips-fix-loongson3-llsc=[yes|no]
    configure time option to set the default behavior. Set the default
    if the configure option is not used to "no".
  * The Cortex-A53 Erratum 843419 workaround now supports a choice of
    which workaround to use.  The option --fix-cortex-a53-843419 now
    takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp]
    which can be used to force a particular workaround to be used.
    See --help for AArch64 for more details.
  * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
    GNU_PROPERTY_AARCH64_FEATURE_1_PAC  in ELF GNU program properties
    in the AArch64 ELF linker. 
  * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI
    on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI 
    on inputs and use PLTs protected with BTI.
  * Add -z pac-plt for AArch64 to pick PAC enabled PLTs.
  * Add --source-comment[=<txt>] option to objdump which if present,
    provides a prefix to source code lines displayed in a disassembly.
  * Add --set-section-alignment <section-name>=<power-of-2-align>
    option to objcopy to allow the changing of section alignments.

OBS-URL: https://build.opensuse.org/request/show/748099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=140
2019-11-18 18:57:44 +00:00
Dominique Leuenberger
be13793a40 Accepting request 734652 from devel:gcc
- Add avr, epiphany and rx to target_list so that the common
  binutils can handle all objects we can create with crosses.
  [bsc#1152590]

OBS-URL: https://build.opensuse.org/request/show/734652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=139
2019-10-11 13:09:20 +00:00
Dominique Leuenberger
4a1197010a Accepting request 729929 from devel:gcc
- Update to current 2.32 branch @7b468db3 adding
  binutils-2.32-branch.diff.gz [jsc#ECO-368].
- Includes fixes for these CVEs:
  bsc#1109412 aka CVE-2018-17358 aka PR23686 
  bsc#1109413 aka CVE-2018-17359 aka PR23686 
  bsc#1109414 aka CVE-2018-17360 aka PR23685 
  bsc#1111996 aka CVE-2018-18309 aka PR23770 
  bsc#1112534 aka CVE-2018-18484 aka GCC PR87636
  bsc#1112535 aka CVE-2018-18483 aka PR23767
  bsc#1113247 aka CVE-2018-18607 aka PR23805 
  bsc#1113252 aka CVE-2018-18606 aka PR23806 
  bsc#1113255 aka CVE-2018-18605 aka PR23804 
  bsc#1116827 aka CVE-2018-17985 aka GCC PR87335 
  bsc#1118830 aka CVE-2018-19932 aka PR23932 
  bsc#1118831 aka CVE-2018-19931 aka PR23942 
  bsc#1120640 aka CVE-2018-1000876 aka PR23994
  bsc#1121034 aka CVE-2018-20651 aka PR24041
  bsc#1121035 aka CVE-2018-20623 aka PR24049 
  bsc#1121056 aka CVE-2018-20671 aka PR24005
  bsc#1142772 aka CVE-2019-1010180 aka PR23657
- Refresh s390-biarch.diff and
  binutils-revert-plt32-in-branches.diff .
- For the SLE12 package this also removes patches
  binutils-z13-1.diff, binutils-z13-2.diff,
  binutils-z13-3.diff, binutils-z13-4.diff and binutils-z13-5.diff .

- enable xtensa architecture (Tensilica lc6 and related)
- Fix SUSE typo in README package name

Fake entry for SLE12 package variant only:

OBS-URL: https://build.opensuse.org/request/show/729929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=138
2019-09-23 09:58:17 +00:00
Dominique Leuenberger
245003a277 Accepting request 717878 from devel:gcc
- Use -ffat-lto-objects in order to provide assembly for static libs
  (boo#1141913). (forwarded request 717776 from marxin)

OBS-URL: https://build.opensuse.org/request/show/717878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=137
2019-08-05 08:28:24 +00:00
Dominique Leuenberger
cca4083d16 Accepting request 699464 from devel:gcc
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).
- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232). (forwarded request 699441 from marxin)

OBS-URL: https://build.opensuse.org/request/show/699464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=136
2019-05-02 17:15:23 +00:00
Yuchen Lin
573da3a598 Accepting request 697147 from devel:gcc
- Add rx-gas-padding-pr24464.patch: fix for PR24464. (forwarded request 697019 from marxin)

OBS-URL: https://build.opensuse.org/request/show/697147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=135
2019-04-26 20:42:44 +00:00
Dominique Leuenberger
7508bbfd18 Accepting request 691511 from devel:gcc
- riscv-abi-check.patch: Don't check ABI flags if no code section (forwarded request 691290 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/691511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=134
2019-04-08 08:29:58 +00:00
Dominique Leuenberger
a1df6159e5 Accepting request 684304 from devel:gcc
- Add binutils.keyring and verify signature. (forwarded request 677318 from marxin)

OBS-URL: https://build.opensuse.org/request/show/684304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=133
2019-03-14 13:50:24 +00:00
Stephan Kulow
8eb2260a87 Accepting request 673442 from devel:gcc
- Add disk and RAM (for ppc, ppc64 and ppc64le) constraint with _constraints.

- 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-1.diff,
  fix-pr23919-2.diff, fix-pr23919-3.diff,
  gold-depend-on-opcodes.diff and s390-relro.diff.

OBS-URL: https://build.opensuse.org/request/show/673442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=132
2019-02-24 15:59:48 +00:00
Dominique Leuenberger
0729927b76 Accepting request 668394 from devel:gcc
- Add s390-relro.diff to improve relro support on s390
  [fate#326356]

- Fix the fix for PR23919 [bsc#1118644]:
  rename handle-ELF-compressed-header-alignment-correctly-by-.patch
  to fix-pr23919-1.diff and add fix-pr23919-2.diff
  and fix-pr23919-3.diff .

OBS-URL: https://build.opensuse.org/request/show/668394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=131
2019-01-29 13:39:17 +00:00
Dominique Leuenberger
452a4d561b Accepting request 652180 from devel:gcc
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919.
- Add handle-ELF-compressed-header-alignment-correctly-by-.patch:
  PR23919. (forwarded request 652176 from marxin)

OBS-URL: https://build.opensuse.org/request/show/652180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=130
2018-12-03 09:02:55 +00:00
Dominique Leuenberger
ece2b5f147 Accepting request 623367 from devel:gcc
- Update to binutils 2.31
  * The AArch64 port now supports showing disassembly notes which are emitted
    when inconsistencies are found with the instruction that may result in the
    instruction being invalid.  These can be turned on with the option -M notes
    to objdump.
  * The AArch64 port now emits warnings when a combination of an instruction and
    a named register could be invalid.
  * Added O modifier to ar to display member offsets inside an archive
  * The ADR and ADRL pseudo-instructions supported by the ARM assembler
    now only set the bottom bit of the address of thumb function symbols
    if the -mthumb-interwork command line option is active.
  * Add --generate-missing-build-notes=[yes|no] option to create (or not) GNU
    Build Attribute notes if none are present in the input sources.  Add a
    --enable-generate-build-notes=[yes|no] configure time option to set the
    default behaviour.  Set the default if the configure option is not used
    to "no".
  * Remove -mold-gcc command-line option for x86 targets.
  * Add -O[2|s] command-line options to x86 assembler to enable alternate
    shorter instruction encoding.
  * Add support for .nops directive.  It is currently supported only for
    x86 targets.
  * Speed up direct linking with DLLs for Cygwin and Mingw targets.
  * Add a configure option --enable-separate-code to decide whether
    -z separate-code should be enabled in ELF linker by default.  Default
    to yes for Linux/x86 targets.  Note that -z separate-code can increase
    disk and memory size.
  * Includes riscv-relax-size.patch, riscv-relax-relocatable.patch,
    riscv-relax-versioned-hidden.patch and riscv-wrap-relax.patch
- Refresh enable-targets-gold.diff.
- Adjust cross-avr-omit_section_dynsym.patch.

OBS-URL: https://build.opensuse.org/request/show/623367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=129
2018-08-13 07:53:28 +00:00
Yuchen Lin
6a5dae2b1c Accepting request 613986 from devel:gcc
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
  with versioned symbols (PR ld/22756) (forwarded request 613973 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/613986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=128
2018-06-13 13:12:49 +00:00
Dominique Leuenberger
1e5d6b691b Accepting request 591668 from devel:gcc
- riscv-relax-relocatable.patch: RISC-V: Don't enable relaxation in
  relocatable link (forwarded request 591508 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/591668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=127
2018-04-04 09:00:54 +00:00
Dominique Leuenberger
0c0b1a8eb6 Accepting request 589144 from devel:gcc
- Update binutils-2.30-branch.diff: 2.30 branch @7c78c26eefbb8
  * Includes more complete fix for PR20882.
  * Includes fix for PR22836.  [boo#1085784]
  * Includes fix for PR22983.

OBS-URL: https://build.opensuse.org/request/show/589144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=126
2018-03-24 15:06:12 +00:00
Dominique Leuenberger
7ea5d4071b Accepting request 585020 from devel:gcc
- riscv-relax-size.patch: Fix symbol size bug when relaxation deletes bytes (forwarded request 584502 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/585020
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=125
2018-03-12 11:02:40 +00:00
Dominique Leuenberger
1c22f3ff31 Accepting request 583547 from devel:gcc
This should fix the LLVM testsuite fail in Staging:A.

- Add binutils-pr22868.diff to fix testsuite fails in LLVM.

- Update to binutils 2.30
  * Add --debug-dump=links option to readelf and --dwarf=links option to objdump
    which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
    sections.
    Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
    option to objdump which causes indirect links into separate debug info files
    to be followed when dumping other DWARF sections.
  * Add support for loaction views in DWARF debug line information.
  * Add -z separate-code to generate separate code PT_LOAD segment.
  * Add "-z undefs" command line option as the inverse of the "-z defs" option.
  * Add -z globalaudit command line option to force audit libraries to be run
    for every dynamic object loaded by an executable - provided that the loader
    supports this functionality.
  * Tighten linker script grammar around file name specifiers to prevent the use
    of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames.  These would
    previously be accepted but had no effect.
  * The EXCLUDE_FILE directive can now be placed within any SORT_* directive
    within input section lists.
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
- Remove use-hashtype-both-by-default.diff, use
  --enable-default-hash-style=both instead
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
- Use riscv64-suse-linux as target for cross-riscv64-binutils

- Add binutils-pr22868.diff to fix testsuite fails in LLVM.

- Update to binutils 2.30

OBS-URL: https://build.opensuse.org/request/show/583547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=124
2018-03-08 09:40:45 +00:00
Dominique Leuenberger
7dcd07d01a Accepting request 569906 from devel:gcc
Drop bc build dependency... I could not find any test that still relies on it (but I can might be wrong) (forwarded request 569884 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/569906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=123
2018-01-29 13:55:25 +00:00
Dominique Leuenberger
77326d5505 Accepting request 568195 from devel:gcc
- Add riscv64 to %target_list (forwarded request 568059 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/568195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=122
2018-01-26 12:33:29 +00:00
Dominique Leuenberger
afbe0241b0 Accepting request 533970 from devel:gcc
This touches only the .changes file, so you can simply check it in
without much checking.
- Fixes these security-related PRs/bnc/CVEs:
  18750 [bsc#1030296, CVE-2014-9939]
  20891 [bsc#1030585, CVE-2017-7225]
  20892 [bsc#1030588, CVE-2017-7224]
  20898 [bsc#1030589, CVE-2017-7223]
  20905 [bsc#1030584, CVE-2017-7226]
  20908 [bsc#1031644, CVE-2017-7299]
  20909 [bsc#1031656, CVE-2017-7300]
  20921 [bsc#1031595, CVE-2017-7302]
  20922 [bsc#1031593, CVE-2017-7303]
  20924 [bsc#1031638, CVE-2017-7301]
  20931 [bsc#1031590, CVE-2017-7304]
  21409 [bsc#1037052, CVE-2017-8392]
  21412 [bsc#1037057, CVE-2017-8393]
  21414 [bsc#1037061, CVE-2017-8394]
  21432 [bsc#1037066, CVE-2017-8396]
  21440 [bsc#1037273, CVE-2017-8421]
  21580 [bsc#1044891, CVE-2017-9746]
  21581 [bsc#1044897, CVE-2017-9747]
  21582 [bsc#1044901, CVE-2017-9748]
  21587 [bsc#1044909, CVE-2017-9750]
  21594 [bsc#1044925, CVE-2017-9755]
  21595 [bsc#1044927, CVE-2017-9756]
- Feature changes:
  PR 21135 [bsc#1030298, CVE-2017-7209],
  PR 21137 [bsc#1029909, CVE-2017-6965],
  PR 21139 [bsc#1029908, CVE-2017-6966],
  PR 21156 [bsc#1029907, CVE-2017-6969],
  PR 21157 [bsc#1030297, CVE-2017-7210],
  PR 21147, PR 21148, PR 21149, PR 21150, PR 21151, PR 21155,

OBS-URL: https://build.opensuse.org/request/show/533970
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=121
2017-10-16 23:52:14 +00:00
Dominique Leuenberger
badb4b3bee Accepting request 531786 from devel:gcc
(relative to SR 531177: add references to fates)
- Add s390x-8fe09d7.diff to fix typo in ELF notes.

- Update binutils-2.29-branch.diff to @a45d8fd5ffbf888 fixing PR 22220.

  relative to the 2.29.1 release fixing following PRs/bnc/CVE:
  22058 [bnc#1057149, CVE-2017-14130]
  21813 [bnc#1052503, CVE-2017-12456, bnc#1052507, CVE-2017-12454,
         bnc#1052509, CVE-2017-12453, bnc#1052511, CVE-2017-12452,
         bnc#1052514, CVE-2017-12450, bnc#1052503, CVE-2017-12456,
         bnc#1052507, CVE-2017-12454, bnc#1052509, CVE-2017-12453,
         bnc#1052511, CVE-2017-12452, bnc#1052514, CVE-2017-12450]
  22148 [bnc#1060599, CVE-2017-14745]
  22163 [bnc#1061241, CVE-2017-14974]
  21933 [bnc#1053347, CVE-2017-12799]
  21787 [bnc#1052518, CVE-2017-12448]
  22018 [bnc#1056312, CVE-2017-13757]
  22170 [bnc#1060621, CVE-2017-14729]
  22047 [bnc#1057144, CVE-2017-14129]
  22059 [bnc#1057139, CVE-2017-14128]
  21990 [bnc#1058480, CVE-2017-14333]
  22113 [bnc#1059050, CVE-2017-14529]
  as well as these PRs:
  22061, 21786, 21916, 21994, 22064, 21995, 21909, 21441, 22060,
  22067, 22032, 21820, 22048, 22199, 21781, 21824, 21861, 22150.
- Update to binutils 2.29. [fate#321454, fate#321494, fate#323293]
- Add s390x-8fe09d7.diff to fix typo in ELF notes.

- Update binutils-2.29-branch.diff to @a45d8fd5ffbf888 fixing PR 22220.

  relative to the 2.29.1 release fixing following PRs/bnc/CVE:

OBS-URL: https://build.opensuse.org/request/show/531786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=120
2017-10-13 12:02:19 +00:00
Dominique Leuenberger
2d98197d30 Accepting request 529108 from devel:gcc
- Update to 2.29.1 release, accumulating bugfixes.
- Update binutils-2.29-branch.diff to @a38a1d80 and to be
  relative to the 2.29.1 release fixing PRs 22199, 22170 and 22163.

OBS-URL: https://build.opensuse.org/request/show/529108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=119
2017-10-01 14:59:00 +00:00
Dominique Leuenberger
982d130655 Accepting request 520106 from devel:gcc
- Update to 2.29 (@5d25156), upstream fix for PR21884, as
  well as PRs 18808 18841 21840 21988 21910 21962 21964.

- Last fixes for PR21884 weren't complete, adjust
  binutils-2.29-branch.diff some more for this.

- Update to 2.29 branch (@de44148c), fixing PR21884, a segfault
  in ld while building memtest86+ .
  Changes binutils-2.29-branch.diff.

- Update to 2.29 branch, fixing PR21847, affecting the ppc64le
  ABI in corner cases since 2.29 release.
  Adds binutils-2.29-branch.diff.
- Remove binutils-2.29-gold-mips.patch, obsolete by the update.

- Add binutils-2.29-gold-mips.patch to fix build on SLE-11.

- Update to binutils 2.29.
  * The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
    instructions for assembly and disassembly.
  * The MIPS port now supports the microMIPS Release 5 ISA for assembly and
    disassembly.
  * The MIPS port now supports the Imagination interAptiv MR2 processor,
    which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
    of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
  * The SPARC port now supports the SPARC M8 processor, which implements the
    Oracle SPARC Architecture 2017.
  * The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
  * Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
  * Add support for the wasm32 ELF conversion of the WebAssembly file format.

OBS-URL: https://build.opensuse.org/request/show/520106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=118
2017-09-20 15:04:23 +00:00
Dominique Leuenberger
b44e365b6d Accepting request 485830 from devel:gcc
Relative to the last submit req 484086 this only adds a new
target and hence package (riscv64).  No actual source or code
changes, so the testing that's currently done in Staging:A is
still valid for this submission as well.

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
* Prepare riscv32 target (gh#riscv/riscv-newlib#8)

OBS-URL: https://build.opensuse.org/request/show/485830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=117
2017-04-25 06:54:20 +00:00
Dominique Leuenberger
f046e2acac Accepting request 480883 from devel:gcc
- Add fix-security-bugs.diff to fix bnc#1029907, bnc#1029908,
  bnc#1029909 and more.  Upstream bugs fixed: 
  PR 21135, PR 21137, PR 21139, PR 21147, PR 21148, PR 21149,
  PR 21150, PR 21151, PR 21155, PR 21156, PR 21157, PR 21158,
  PR 21159

- Update to binutils 2.28.
  * Add support for locating separate debug info files using the build-id
    method, where the separate file has a name based upon the build-id of
    the original file.
  * This version of binutils fixes a problem with PowerPC VLE 16A and 16D
    relocations which were functionally swapped, for example,
    R_PPC_VLE_HA16A performed like R_PPC_VLE_HA16D while R_PPC_VLE_HA16D
    performed like R_PPC_VLE_HA16A.  This could have been fixed by
    renumbering relocations, which would keep object files created by an
    older version of gas compatible with a newer ld.  However, that would
    require an ABI update, affecting other assemblers and linkers that
    create and process the relocations correctly.  It is recommended that
    all VLE object files be recompiled, but ld can modify the relocations
    if --vle-reloc-fixup is passed to ld.  If the new ld command line
    option is not used, ld will ld warn on finding relocations inconsistent
    with the instructions being relocated.
  * The nm program has a new command line option (--with-version-strings)
    which will display a symbol's version information, if any, after the
    symbol's name.
  * The ARC port of objdump now accepts a -M option to specify the extra
    instruction class(es) that should be disassembled.
  * The --remove-section option for objcopy and strip now accepts section
    patterns starting with an exclamation point to indicate a non-matching
    section.  A non-matching section is removed from the set of sections

OBS-URL: https://build.opensuse.org/request/show/480883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=116
2017-03-21 21:45:58 +00:00
Dominique Leuenberger
036c6b17c0 Accepting request 477329 from devel:gcc
- Configure with --with-system-zlib (forwarded request 477325 from AndreasSchwab)

OBS-URL: https://build.opensuse.org/request/show/477329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=115
2017-03-15 00:05:57 +00:00
Dominique Leuenberger
85d4caefaf Accepting request 460174 from devel:gcc
- Add binutils-bso21193.diff to fix section alignment on
  .gnu_debuglink.  [bso#21193]

OBS-URL: https://build.opensuse.org/request/show/460174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=114
2017-03-05 16:49:00 +00:00
Dominique Leuenberger
65dfb5d087 Accepting request 455439 from devel:gcc
- Add s390x to gold_archs.

- Fix alignment frags for aarch64 (boo#1003846)
  aarch64-alignment-frags.patch

- Call ldconfig for libbfd

OBS-URL: https://build.opensuse.org/request/show/455439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=113
2017-02-12 23:24:06 +00:00
Dominique Leuenberger
7cf3f0e294 Accepting request 442830 from devel:gcc
- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch
  from upstream to fix an assembler problem with clang on ARM.
  Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648

- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch
  from upstream to fix an assembler problem with clang on ARM.
  Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648

- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch
  from upstream to fix an assembler problem with clang on ARM.
  Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648

- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch
  from upstream to fix an assembler problem with clang on ARM.
  Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648

- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch
  from upstream to fix an assembler problem with clang on ARM.
  Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648

- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch
  from upstream to fix an assembler problem with clang on ARM.
  Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648

- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch
  from upstream to fix an assembler problem with clang on ARM.
  Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648

- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch
  from upstream to fix an assembler problem with clang on ARM. (forwarded request 442826 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/442830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=112
2016-12-03 17:22:40 +00:00
Dominique Leuenberger
fc35d97855 Accepting request 423084 from devel:gcc
- Update to binutils 2.27.
  * Add a configure option, --enable-64-bit-archive, to force use of a
    64-bit format when creating an archive symbol index.
  * Add --elf-stt-common= option to objcopy for ELF targets to control
    whether to convert common symbols to the STT_COMMON type.
  GAS:
  * Default to --enable-compressed-debug-sections=gas for Linux/x86 targets.
  * Add --no-pad-sections to stop the assembler from padding the end of output
    sections up to their alignment boundary.
  * Support for the ARMv8-M architecture has been added to the ARM port.
    Support for the ARMv8-M Security and DSP Extensions has also been added
    to the ARM port.
  * ARC backend accepts .extInstruction, .extCondCode, .extAuxRegister, and
    .extCoreRegister pseudo-ops that allow an user to define custom
    instructions, conditional codes, auxiliary and core registers.
  * Add a configure option --enable-elf-stt-common to decide whether ELF
    assembler should generate common symbols with the STT_COMMON type by
    default.  Default to no.
  * New command line option --elf-stt-common= for ELF targets to control
    whether to generate common symbols with the STT_COMMON type.
  * Add ability to set section flags and types via numeric values for ELF
    based targets.
  * Add a configure option --enable-x86-relax-relocations to decide whether
    x86 assembler should generate relax relocations by default.  Default to
    yes, except for x86 Solaris targets older than Solaris 12.
  * New command line option -mrelax-relocations= for x86 target to control
    whether to generate relax relocations.
  * New command line option -mfence-as-lock-add=yes for x86 target to encode
    lfence, mfence and sfence as "lock addl $0x0, (%[re]sp)".
  * Add assembly-time relaxation option for ARC cpus.

OBS-URL: https://build.opensuse.org/request/show/423084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=111
2016-09-01 12:00:44 +00:00
Dominique Leuenberger
217c329cb9 Accepting request 407069 from devel:gcc
- Update to binutils 2.26.1.
- Remove binutils-2.26-branch.diff.

- Update binutils-2.26-branch.diff, updates to branch head.
  (swo#19807) (bnc#970239)
- Disable -mrelax-relocations by default on old products.

OBS-URL: https://build.opensuse.org/request/show/407069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=110
2016-07-16 20:09:56 +00:00
Dominique Leuenberger
bb3c04926d Accepting request 369051 from devel:gcc
- Update binutils-2.26-branch.diff, updates to branch head.
  (swo#19739) (swo#19775)

OBS-URL: https://build.opensuse.org/request/show/369051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=109
2016-03-12 11:31:33 +00:00
Dominique Leuenberger
368c5be3dc Accepting request 363404 from devel:gcc
- Add binutils-2.26-branch.diff, updates to branch head.
  * Adds -mrelax-relocations on x86
  * Fixes bso#19698

- Refresh cross-avr-nesc-as.patch

- Update to binutils 2.26
  * 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.

OBS-URL: https://build.opensuse.org/request/show/363404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=108
2016-03-05 12:04:46 +00:00
Dominique Leuenberger
dcd449ba75 Accepting request 353628 from devel:gcc
- gold-relocate-tls.patch: Fix internal error when applying TLSDESC
  relocations with no TLS segment (forwarded request 353332 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/353628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=107
2016-01-21 22:40:22 +00:00
Dominique Leuenberger
e3030b3c6a Accepting request 338992 from devel:gcc
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
  aarch64 (forwarded request 338990 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/338992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=106
2015-10-19 20:13:59 +00:00
Dominique Leuenberger
d5cf7a155d Accepting request 335868 from devel:gcc
- gold-arm64-abi-pagesize.patch: fix ABI pagesize for aarch64 in gold (forwarded request 335624 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/335868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=105
2015-10-06 11:23:41 +00:00
Dominique Leuenberger
c353bf8e26 Accepting request 317801 from devel:gcc
Some more fixes.

OBS-URL: https://build.opensuse.org/request/show/317801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=104
2015-08-21 05:34:39 +00:00
Dominique Leuenberger
65a9d971ea Accepting request 286745 from devel:gcc
- gold-opd-visibility.patch: Set default visibility on discarded .opd
  symbols (forwarded request 286744 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/286745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=103
2015-02-22 16:20:02 +00:00
Dominique Leuenberger
7e24a7492f Accepting request 282208 from devel:gcc
- eh-frame-hdr-on-shared-lib-bfd.patch: Don't create .eh_frame_hdr on
  shared lib bfd, fixes building libgcj on ppc64 (forwarded request 282205 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/282208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=102
2015-01-30 05:01:28 +00:00
Dominique Leuenberger
fddee9731d Accepting request 281397 from devel:gcc
- Update to binutils 2.25 release.
  * Add --data option to strings to only print strings in loadable, initialized
    data sections.  Change the default behaviour to be --all, but add a new
    configure time option of --disable-default-strings-all to restore the old
    default behaviour.
  * Add --include-all-whitespace to strings.
  * Add --dump-section option to objcopy.
  * Add support for the Andes NDS32.
  * PE binaries now once again contain real timestamps by default.  To disable
    the inclusion of a timestamp in a PE binary, use the --no-insert-timestamp
    command line option.
  * Replace support for openrisc and or32 with support for or1k.
  * Add support for the --build-id command line option to COFF based targets.
  * x86/x86_64 pe-coff now supports the --build-id option.
  * Add support for the AVR Tiny microcontrollers.
  * Enhanced the ARM port to accept the assembler output from the CodeComposer
    Studio tool.  Support is enabled via the new command line option -mccs.
- Update to 2.25 branch head.
  * Pulls PIE fixes.

- Minor fix on the usage of update-alternatives
  https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines

OBS-URL: https://build.opensuse.org/request/show/281397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=101
2015-01-20 20:54:33 +00:00
Dominique Leuenberger
52566b37db Accepting request 264543 from devel:gcc
follow policy

OBS-URL: https://build.opensuse.org/request/show/264543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=100
2014-12-10 22:43:51 +00:00
Stephan Kulow
840323ce78 Accepting request 232900 from devel:gcc
- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings
  for warn annotated symbols with LTO.

OBS-URL: https://build.opensuse.org/request/show/232900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=98
2014-05-22 18:37:30 +00:00
Stephan Kulow
803a628ec8 Accepting request 229248 from devel:gcc
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp (forwarded request 229209 from AndreasSchwab)

OBS-URL: https://build.opensuse.org/request/show/229248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=97
2014-04-08 09:31:17 +00:00
Stephan Kulow
7cf5bbab44 Accepting request 228988 from devel:gcc
- binutils-2.24-auto-plugin.diff: Update from git commit that went
  to trunk.

- Update to current 2.24 branch at 25f1c421:
  AVX512 fixes, new x86 instructions clflushopt, xsaves, xsavec, xrstors.
  aarch64: linker fixes for PLT stubs, correct float const 0.0 parsing,
  support ifunc in static links.
  Fix ld/16643 (problem with GCed sections).
  powerpc64le: fix ld segfault with --emit-relocs.
  Fix buffer underrun in x86 disassembler.
  Fix merging of skipped weak symbols.  [bnc #863764]

- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work
  for GCC LTO objects.  [bso#14698]

OBS-URL: https://build.opensuse.org/request/show/228988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=96
2014-04-06 07:55:48 +00:00
Tomáš Chvátal
8f13cac0f1 Accepting request 223431 from devel:gcc
- Disable --enable-deterministic-archives again, as it breaks 
  valid Makefiles.

- cross-avr-size.patch: AVR-style output in avr-size utility

- build with --enable-deterministic-archives so ar and ranlib 
  cooperate in the creation of reproducible builds.

OBS-URL: https://build.opensuse.org/request/show/223431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=95
2014-02-28 15:21:52 +00:00
Stephan Kulow
f4690e6d1a Accepting request 210350 from devel:gcc
- Update to 2.24 release and to branch at 9177510e:
  * Add support for the Texas Instruments MSP430X processor.
  * Add support for Altera Nios II.
  * Add support for the V850E3V5 architecture.
  * Add support for the Imagination Technologies Meta processor.
  * --enable-new-dtags no longer generates old dtags in addition to new dtags.
  * Remove assembler and linker support for MIPS ECOFF targets.
  * Remove assembler support for MIPS ECOFF targets.
  * Add ALIGN_WITH_INPUT to the linker script language to force the
    alignment of an output section to use the maximum alignment of
    all its input sections.
  * Add -gdwarf-sections command line option to enable per-code-section
    generation of DWARF .debug_line sections.
  * Objcopy now supports wildcard characters in command line options that take
    section names.

OBS-URL: https://build.opensuse.org/request/show/210350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=94
2013-12-11 15:14:31 +00:00
Stephan Kulow
fa2df03b9a Accepting request 209295 from devel:gcc
- Update to 2.23.92 prerelease, mostly for ppc64le support.
- Add cross-ppc64le-binutils.

- Add cross-m68k-binutils

- pie-m68k.patch: Emit DT_DEBUG also for PIE

- 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.52.0.1-64-bit-thin-archives.patch,
  s390-machinemode.patch, warning-symbol-sections.patch).

OBS-URL: https://build.opensuse.org/request/show/209295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=93
2013-12-05 05:48:28 +00:00
Stephan Kulow
6d1ea08cf8 Accepting request 197371 from devel:gcc
- Add binutils-2.23.52.0.1-64-bit-thin-archives.patch to fix thin
  archive creation on 64bit systems. This is rh#915411 and should
  also fix webkitgtk on s390x. (forwarded request 196965 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/197371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=91
2013-09-05 21:20:26 +00:00
Stephan Kulow
507d5e0468 Accepting request 184935 from devel:gcc
- warning-symbol-sections.patch: correct test in last change (forwarded request 184884 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/184935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=90
2013-07-31 16:31:53 +00:00
Stephan Kulow
df3ce6b2f7 Accepting request 183991 from devel:gcc
- warning-symbol-sections.patch: don't clobber warning sections from
  shared libraries (forwarded request 183973 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/183991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=89
2013-07-23 10:29:49 +00:00
Stephan Kulow
4cc9f72510 Accepting request 181893 from devel:gcc
- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list 

- add armv6l to target list (forwarded request 181892 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/181893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=88
2013-07-04 08:05:20 +00:00
Stephan Kulow
587d447bc2 Accepting request 178782 from devel:gcc
- add aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff
- add aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff

- add aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff
- add aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff

- add aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff
- add aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff

- add aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff
- add aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff

- add aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff
- add aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff

- add aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff
- add aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff

- add aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff
- add aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff

- add aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff
- add aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff

- add aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff
- add aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff

- add aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff
- add aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff (forwarded request 178615 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/178782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=87
2013-06-14 14:43:52 +00:00
Stephan Kulow
28d3f6270b Accepting request 175732 from devel:gcc
- Drop cross-alpha-binutils.  Adjust pre-checkin.sh to remove
  all cross packages before re-generating them.

- Tell bfd ELF backend that aarch64 defaults to non-exec stack

- Re-instantiate patch to warn about non-PIC code in shared objects
  on s390x.

- Drop cross-alpha-binutils.  Adjust pre-checkin.sh to remove
  all cross packages before re-generating them.

- Tell bfd ELF backend that aarch64 defaults to non-exec stack

- Re-instantiate patch to warn about non-PIC code in shared objects
  on s390x.

- Drop cross-alpha-binutils.  Adjust pre-checkin.sh to remove
  all cross packages before re-generating them.

- Tell bfd ELF backend that aarch64 defaults to non-exec stack

- Re-instantiate patch to warn about non-PIC code in shared objects
  on s390x.

- Drop cross-alpha-binutils.  Adjust pre-checkin.sh to remove
  all cross packages before re-generating them.

- Tell bfd ELF backend that aarch64 defaults to non-exec stack

- Re-instantiate patch to warn about non-PIC code in shared objects

OBS-URL: https://build.opensuse.org/request/show/175732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=86
2013-05-16 13:18:21 +00:00
Stephan Kulow
0ab7bd6f2a Accepting request 162066 from devel:gcc
- Update to binutils 2.23.2.
  * various bugfixes
- Refresh no longer applying patch.

- Add aarch64 support for --gc-sections
  (from http://sourceware.org/ml/binutils/2013-02/msg00285.html)

OBS-URL: https://build.opensuse.org/request/show/162066
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=85
2013-04-02 09:39:15 +00:00
Stephan Kulow
5263deedec Accepting request 150280 from devel:gcc
- Backport s390 .machinemode pseudo insn

- Revert upstream change to error on bfd.h usage without first
  including some config.h

OBS-URL: https://build.opensuse.org/request/show/150280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=84
2013-01-30 21:18:29 +00:00
Stephan Kulow
34eb03a7ae Accepting request 143390 from devel:gcc
- Change update-alternative priorities to always prefer GNU ld

- Implement update-alternatives service for gold

- update to version 2.23.1 release
- add aarch64 biarch patch

- add cross-aarch64-binutils

- Have pre_checkin.sh create cross-sparc64-binutils

- Change update-alternative priorities to always prefer GNU ld

- Implement update-alternatives service for gold

- update to version 2.23.1 release
- add aarch64 biarch patch

- add cross-aarch64-binutils

- Have pre_checkin.sh create cross-sparc64-binutils

- Change update-alternative priorities to always prefer GNU ld

- Implement update-alternatives service for gold

- update to version 2.23.1 release
- add aarch64 biarch patch

- add cross-aarch64-binutils

OBS-URL: https://build.opensuse.org/request/show/143390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=82
2012-11-28 14:59:27 +00:00
Stephan Kulow
a45c7ed6ce Accepting request 139427 from devel:gcc
- Update to binutils 2.23 branch head.
  * Includes binutils 2.23 release.

- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.

OBS-URL: https://build.opensuse.org/request/show/139427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=81
2012-11-02 06:30:48 +00:00
Stephan Kulow
e5743f25b5 Accepting request 133496 from devel:gcc
- add makeinfo as explicit buildrequire
- Enable threaded linking in gold.
- Add patch to fix libiberty integer overflow.  [bnc#776968]

OBS-URL: https://build.opensuse.org/request/show/133496
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=80
2012-09-13 04:59:22 +00:00
Stephan Kulow
fdeb3591bf Accepting request 125946 from devel:gcc
- fix default elf format for arm cross tools

- fix stupid typo

- fix default elf format for arm cross tools

- fix stupid typo

- fix default elf format for arm cross tools

- fix stupid typo

- fix default elf format for arm cross tools

- fix stupid typo

- fix default elf format for arm cross tools

- fix stupid typo

- fix default elf format for arm cross tools

- fix stupid typo

- fix default elf format for arm cross tools

- fix stupid typo

- fix default elf format for arm cross tools

OBS-URL: https://build.opensuse.org/request/show/125946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=79
2012-06-26 13:14:56 +00:00
Stephan Kulow
b666e07332 Accepting request 125375 from devel:gcc
- the previous fix was not good enough, another iteration of the same (forwarded request 125342 from coolo)

OBS-URL: https://build.opensuse.org/request/show/125375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=77
2012-06-18 19:24:52 +00:00
Stephan Kulow
14b6843e02 Accepting request 125070 from devel:gcc
- exclude our target arch for cross compiling - this is just not cross

OBS-URL: https://build.opensuse.org/request/show/125070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=76
2012-06-16 04:54:17 +00:00
Stephan Kulow
d409578f33 Accepting request 114814 from devel:gcc
- Consistently use $target-suse-linux triplets.

OBS-URL: https://build.opensuse.org/request/show/114814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=75
2012-04-20 13:11:14 +00:00
Stephan Kulow
03746d56ff Accepting request 105212 from devel:gcc
- Drop the new spec files again, instead move the cross-$arch-binutils
  contents to /usr, away from /opt.

- Add spec files that build variants for arm and avr that install
  under /usr rather than /opt/cross.
- Add avr-binutils-relocs.patch to fix a crash in avr-ld.
  http://sourceware.org/bugzilla/show_bug.cgi?id=12161

OBS-URL: https://build.opensuse.org/request/show/105212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=74
2012-02-17 11:20:36 +00:00
Stephan Kulow
435ca0a02d Accepting request 101649 from devel:gcc
- Fix package licenses to follow SPDX format, adjust to reality.

- Amend patch to fix arm unwind table corruption.  [bso#13449]

OBS-URL: https://build.opensuse.org/request/show/101649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=73
2012-02-03 09:21:57 +00:00
Stephan Kulow
b414137d5e Accepting request 98732 from devel:gcc
- Add patch to fix arm unwind table corruption.  [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.

- Add patch to fix build-id issues.  [bso#12451]

OBS-URL: https://build.opensuse.org/request/show/98732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=72
2012-01-06 10:43:10 +00:00
Stephan Kulow
72bbe774ef Accepting request 95571 from devel:gcc
- Update to final binutils 2.22 release.

OBS-URL: https://build.opensuse.org/request/show/95571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=71
2011-12-06 16:57:49 +00:00
Stephan Kulow
ab72968b6c Accepting request 89936 from devel:gcc
- Update to binutils-2_22-branch head.
  * Adds support for LDPT_GET_SYMBOLS_V2.
  * Drop patches that have been applied upstream.

- Fix --gc-sections failure with symbol versioning [bso#13195]

- Update to binutils-2_22-branch head.
  * Drop patches that have been applied upstream.
  * Drop patches that no longer apply.

- use -gnueabi extension to switch to new abi for arm

- Add support for arm-*-gnueabihf targets (PR ld/12643)

- add arm targets

- Make --no-copy-dt-needed-entries the default for ld.
- Update to binutils-2_22-branch head.
  * Adds support for LDPT_GET_SYMBOLS_V2.
  * Drop patches that have been applied upstream.

- Fix --gc-sections failure with symbol versioning [bso#13195]

- Update to binutils-2_22-branch head.
  * Drop patches that have been applied upstream.
  * Drop patches that no longer apply.

- use -gnueabi extension to switch to new abi for arm

- Add support for arm-*-gnueabihf targets (PR ld/12643)

OBS-URL: https://build.opensuse.org/request/show/89936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=70
2011-11-05 09:54:43 +00:00
Sascha Peilicke
345d845f15 Autobuild autoformatter for 79558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=68
2011-08-24 09:37:43 +00:00
Sascha Peilicke
c452786544 Accepting request 79558 from devel:gcc
- Fix XLC object linker complaints.  [bnc#713504]

- Make --no-copy-dt-needed-default the default for ld.

OBS-URL: https://build.opensuse.org/request/show/79558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=67
2011-08-24 09:37:22 +00:00
ae882a2a5c Autobuild autoformatter for 76101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=66
2011-07-12 12:06:37 +00:00
3d84c3d55f Accepting request 76101 from devel:gcc
- Add patch for bogus executable stack setting with -flto.  [bso#12982]

OBS-URL: https://build.opensuse.org/request/show/76101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=65
2011-07-12 12:06:07 +00:00
bd6aea2b03 Autobuild autoformatter for 76035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=64
2011-07-11 14:01:45 +00:00
4d1d700a10 Accepting request 76035 from devel:gcc
- BuildRequire glibc-devel-static to fix static linking tests.

- Add patch to fix a readelf endless loop bug [#12855]

- Add dependency to opcodes from gold.

OBS-URL: https://build.opensuse.org/request/show/76035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=63
2011-07-11 14:01:19 +00:00
Sascha Peilicke
be2a6bb7de Autobuild autoformatter for 74753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=62
2011-07-06 08:38:07 +00:00
Sascha Peilicke
29f2c1dc87 Accepting request 74753 from devel:gcc
- Update to binutils 2.21.1 release.

- Add support for x86_64-pep target [needed for Xen fate #311376]

OBS-URL: https://build.opensuse.org/request/show/74753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=61
2011-07-06 08:37:42 +00:00
Sascha Peilicke
4043fb74f7 Autobuild autoformatter for 73515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=60
2011-06-15 09:41:49 +00:00
Sascha Peilicke
a63734a8a2 Accepting request 73515 from devel:gcc
- Add patch to support AMD Bulldozer v2 [fate #312149]

- Update to binutils-2_21-branch head.  [bnc#698346]

- Disable cross-sh4-binutils.

  Rewrite history by including this:
    Wed Mar 24 17:23:32 CET 2010 - matz@suse.de
    
    - Fix testcase breaking with MALLOC_PERTURB.  [bnc #590820]
    
    Sat Feb 13 17:52:11 CET 2010 - rguenther@suse.de
    
    - Drop build counter from the libbfd and libopcode SONAMEs.
    
    Fri Jan 22 15:31:06 CET 2010 - matz@suse.de
    
    - Update to current binutils-2_20-branch.  [bnc #561142, #573019]
    
    Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
    
    - Fix removal of unwanted files (man,info,libiberty) on the
      cross binutils.
    
    Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
    
    - add baselibs.conf as a source
    
    Mon Dec  7 16:14:27 CET 2009 - jengelh@medozas.de

OBS-URL: https://build.opensuse.org/request/show/73515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=59
2011-06-15 09:41:26 +00:00
Sascha Peilicke
1a161b2a98 Autobuild autoformatter for 69554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=58
2011-05-04 13:50:18 +00:00
Sascha Peilicke
7cccad7708 Accepting request 69554 from devel:gcc
- Update to binutils-2_21-branch head.  [bnc#691290]

OBS-URL: https://build.opensuse.org/request/show/69554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=57
2011-05-04 13:49:56 +00:00
Sascha Peilicke
d805703f77 Autobuild autoformatter for 67906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=56
2011-04-21 09:42:38 +00:00
Sascha Peilicke
b80f02db01 Accepting request 67906 from devel:gcc
Accepted submit request 67906 from user licensedigger

OBS-URL: https://build.opensuse.org/request/show/67906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=55
2011-04-21 09:42:18 +00:00
9d50ed7e90 Autobuild autoformatter for 57991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=53
2011-01-14 00:11:29 +00:00
6b6c528476 Accepting request 57991 from devel:gcc
Accepted submit request 57991 from user rguenther

OBS-URL: https://build.opensuse.org/request/show/57991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=52
2011-01-14 00:11:17 +00:00
OBS User autobuild
f9524683c1 Accepting request 44055 from devel:gcc
Copy from devel:gcc/binutils based on submit request 44055 from user rguenther

OBS-URL: https://build.opensuse.org/request/show/44055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=51
2010-07-30 10:32:27 +00:00
OBS User autobuild
ca90b154c3 Accepting request 37774 from devel:gcc
Copy from devel:gcc/binutils based on submit request 37774 from user matz2

OBS-URL: https://build.opensuse.org/request/show/37774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=48
2010-04-13 19:21:52 +00:00
OBS User autobuild
2191fea029 Accepting request 35698 from devel:gcc
Copy from devel:gcc/binutils based on submit request 35698 from user matz2

OBS-URL: https://build.opensuse.org/request/show/35698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=47
2010-03-25 23:03:53 +00:00
OBS User autobuild
b467402b4b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=46 2010-03-18 14:37:06 +00:00
OBS User autobuild
9435d65059 Accepting request 32416 from devel:gcc
Copy from devel:gcc/binutils based on submit request 32416 from user matz2

OBS-URL: https://build.opensuse.org/request/show/32416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=45
2010-02-12 16:04:27 +00:00
OBS User autobuild
a45215438c Accepting request 30302 from devel:gcc
Copy from devel:gcc/binutils based on submit request 30302 from user matz2

OBS-URL: https://build.opensuse.org/request/show/30302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=44
2010-01-29 13:58:53 +00:00
OBS User autobuild
a80da52c6d Accepting request 29428 from devel:gcc
Copy from devel:gcc/binutils based on submit request 29428 from user matz2

OBS-URL: https://build.opensuse.org/request/show/29428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=43
2010-01-14 14:24:23 +00:00
OBS User autobuild
3fbe32f741 Accepting request 24908 from devel:gcc
Copy from devel:gcc/binutils based on submit request 24908 from user matz2

OBS-URL: https://build.opensuse.org/request/show/24908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=42
2009-11-27 11:33:30 +00:00
14 changed files with 200 additions and 219 deletions

View File

@ -16,6 +16,7 @@
<flavor>spu</flavor>
<flavor>avr</flavor>
<flavor>pru</flavor>
<flavor>loongarch64</flavor>
<flavor>mips</flavor>
<flavor>m68k</flavor>
<flavor>epiphany</flavor>

BIN
binutils-2.42-branch.diff.gz (Stored with Git LFS)

Binary file not shown.

BIN
binutils-2.42.tar.bz2 (Stored with Git LFS)

Binary file not shown.

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEOiS8Ho+0CfqfFDcYE/zvid2ePE8FAmW3wiYACgkQE/zvid2e
PE+HQBAAgC3yZJvJBx/0EtNESazNRpUG8G4pnd0505QYiibf+5243xXusDySXVu3
iBt2UltDPauPu6eIUC7qY0xaZHhPuxqPHp6oSrB73iHZ7ovTdbZUX2060Ro8KXha
xN6+SPBHQGxP8XZw+ezexYNpwHBGM8CUos7UeeLpskuSBRGQC4bEhCOR8wuvU1w9
gHTFuOY5zKgzzNMr1fPp/tRqUqZr8A7R1HN6tAs+4N2QWLk9Z/oF7h7Rkrzqe8gY
vmaakulfBTiqNIZJyTQhbhPiWrtLdElKyohBa/enqtTrktXoX/gwX21+LMqU+Oh3
qE7CicjEZKGK/e8gl0BjcwgMeuUYYpZRUI1+A++YAu+YPSzLQL9iPy1FUovrYhHO
Fr/qV156MtnhkoaI7RVDLKl2s3CP451yjHSDcAsB51wq+QophC3z6yoTXKuKW8h6
v2yW5ZaG5GfiPmRw+E46qsZWeb2pOUaGVU8ovaYWfLjrZ20WFZwZKLn55ZwZ35eW
g3RSff4f0lqr8x7jWDkf+KQMC2K0O6Sl0sgFoFE6PMPFcGe4r6oSIekNygaFgxBv
DrL0IA8y1prpmpnJrGbIg1+ciguAJKEBfcV9pNyq1IAHWu3aOMbWKb5pF0ukb0PY
OueuuH06uaBa7vgZxvbTiw0j5+PuTlGHa3Bsf4rlkChK2N/6deQ=
=5bYR
-----END PGP SIGNATURE-----

BIN
binutils-2.43-branch.diff.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
binutils-2.43.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

16
binutils-2.43.tar.bz2.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEOiS8Ho+0CfqfFDcYE/zvid2ePE8FAmaviv8ACgkQE/zvid2e
PE9C2hAAw9RCvIe7c6zdMBslwnHm5lJE4P8OLgfvQhW1LyNMM7q6UtJC0oG1mCAk
qpfDkp62XXXLu8QUVvuGhLOrAC7PkkwRs+RKaidOmQ1DDaFsh6h1EilbRbeXhwT6
+GgL9gmoflWQ+/VTi8ETc6F0kxfbOFLDgWQf8LZ66g9Z5RzoUaRfcktljjPpmgvh
kp2V/8QsY6rTtJDpTfSp5ysvvfkuh0DQBN/aOlnjcbupaj2p2aBrs0PiAmtiNfGZ
616FCFytqNYX8KxVV3OZcTOCKARcFxXc/4q1za+0musaqLHGlw8h27jTEU51lQJy
gemDWIJbVoth/jK4/pIl7rsiLte136qj6JybsAh3LLM7JTcwf9rha0DyU0nBmSyt
4PfzOsoSRjfIBTTPlmS7L2thY8+Y0sYPcIf8lj8ue9YZyYYSix/8KUm/0vvmwJr8
XUiw0sUpGcSUTFjqhNxcjqORSQBWb9kjRod+PdU9LEFE4cp3mexkzjIgEWDkRjqP
sTdstNT1A5LiX5XhcMKVze9D28y2XQRxkbvbBbm4nt4cIBvk1QtsZZH4bR5ABgyF
q8kp0FpBrbvOBTDQsuAuvL9lOg5unngZLAOeogxsOJblirzX6cPku5NDQgY7GYUP
SIEOJaMU5OoI6NU9iVt1LBZZaMO6+16PTNQ2MArgI0g2B1HNC3U=
=vvKA
-----END PGP SIGNATURE-----

22
binutils-fix-branch.diff Normal file
View File

@ -0,0 +1,22 @@
This is used to manually patch the bison generated files when
the binutils-X.YZ-branch.diff touches them. That diff is generated
directly from git and doesn't contain the generated .c/h files.
The base tarball does contain them, but generated from the unpatched state.
In SLE12 and older we can't regenerate them due to too old versions
of flex and bison.
So, when the branch diff _does_ touch them we need to do the regeneration
via such a manual patch.
Index: binutils-2.43/ld/ldgram.c
===================================================================
--- binutils-2.43.orig/ld/ldgram.c 2024-08-04 01:00:00.000000000 +0200
+++ binutils-2.43/ld/ldgram.c 2024-12-09 16:41:08.089715376 +0100
@@ -2839,7 +2839,7 @@ yyreduce:
case 73: /* ifile_p1: SEARCH_DIR '(' filename ')' */
#line 324 "ldgram.y"
- { ldfile_add_library_path ((yyvsp[-1].name), search_dir_linker_script); }
+ { ldfile_add_library_path ((yyvsp[-1].name), false); }
#line 2844 "ldgram.c"
break;

View File

@ -1,20 +0,0 @@
Fixes two testsuite fails in the gold plugin tests of LLVM.
Aka binutils/PR22868
Index: binutils-2.30/gold/resolve.cc
===================================================================
--- binutils-2.30.orig/gold/resolve.cc 2018-01-13 14:31:16.000000000 +0100
+++ binutils-2.30/gold/resolve.cc 2018-03-06 16:58:42.000000000 +0100
@@ -265,10 +265,13 @@ Symbol_table::resolve(Sized_symbol<size>
return;
// Likewise for an absolute symbol defined twice with the same value.
+ // plugin-symbols are always absolute with same value here, so ignore those
if (!is_ordinary
&& st_shndx == elfcpp::SHN_ABS
&& !to_is_ordinary
&& to_shndx == elfcpp::SHN_ABS
+ && object->pluginobj() == NULL
+ && to->object()->pluginobj() == NULL
&& to->value() == sym.get_st_value())
return;

View File

@ -26,10 +26,10 @@ of missing support in ld.so.
proper predicate to guard themself)
Index: binutils-2.42/bfd/elf64-x86-64.c
Index: binutils-2.43/bfd/elf64-x86-64.c
===================================================================
--- binutils-2.42.orig/bfd/elf64-x86-64.c 2024-01-30 16:59:42.442361796 +0100
+++ binutils-2.42/bfd/elf64-x86-64.c 2024-01-30 17:54:25.162977883 +0100
--- binutils-2.43.orig/bfd/elf64-x86-64.c 2024-08-06 16:48:34.104745566 +0200
+++ binutils-2.43/bfd/elf64-x86-64.c 2024-08-06 16:48:36.554787135 +0200
@@ -48,127 +48,127 @@ static reloc_howto_type x86_64_elf_howto
bfd_elf_generic_reloc, "R_X86_64_NONE", false, 0, 0x00000000,
false),
@ -199,7 +199,7 @@ Index: binutils-2.42/bfd/elf64-x86-64.c
true),
HOWTO(R_X86_64_CODE_4_GOTPCRELX, 0, 4, 32, true, 0, complain_overflow_signed,
bfd_elf_generic_reloc, "R_X86_64_CODE_4_GOTPCRELX", false, 0, 0xffffffff,
@@ -198,7 +198,7 @@ static reloc_howto_type x86_64_elf_howto
@@ -216,7 +216,7 @@ static reloc_howto_type x86_64_elf_howto
/* Use complain_overflow_bitfield on R_X86_64_32 for x32. */
HOWTO(R_X86_64_32, 0, 4, 32, false, 0, complain_overflow_bitfield,
@ -208,9 +208,9 @@ Index: binutils-2.42/bfd/elf64-x86-64.c
false)
};
Index: binutils-2.42/gas/testsuite/gas/i386/rela.d
Index: binutils-2.43/gas/testsuite/gas/i386/rela.d
===================================================================
--- binutils-2.42.orig/gas/testsuite/gas/i386/rela.d 2024-01-29 01:00:00.000000000 +0100
--- binutils-2.43.orig/gas/testsuite/gas/i386/rela.d 2024-08-06 16:48:34.104745566 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,13 +0,0 @@
-#name: x86-64 rela relocs w/ non-zero relocated fields
@ -226,9 +226,9 @@ Index: binutils-2.42/gas/testsuite/gas/i386/rela.d
-
-Contents of section .data:
- 0+0 11 ?11 ?11 ?11 22 ?22 ?22 ?22 33 ?33 ?33 ?33 44 ?44 ?44 ?44 .*
Index: binutils-2.42/gas/testsuite/gas/i386/rela.s
Index: binutils-2.43/gas/testsuite/gas/i386/rela.s
===================================================================
--- binutils-2.42.orig/gas/testsuite/gas/i386/rela.s 2024-01-29 01:00:00.000000000 +0100
--- binutils-2.43.orig/gas/testsuite/gas/i386/rela.s 2024-08-06 16:48:34.104745566 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,14 +0,0 @@
-# Note: This file is also used by an ld test case.
@ -245,9 +245,9 @@ Index: binutils-2.42/gas/testsuite/gas/i386/rela.s
-
- .reloc l, BFD_RELOC_64, q
- .reloc q, BFD_RELOC_32, l
Index: binutils-2.42/ld/testsuite/ld-x86-64/rela.d
Index: binutils-2.43/ld/testsuite/ld-x86-64/rela.d
===================================================================
--- binutils-2.42.orig/ld/testsuite/ld-x86-64/rela.d 2024-01-29 01:00:00.000000000 +0100
--- binutils-2.43.orig/ld/testsuite/ld-x86-64/rela.d 2024-08-06 16:48:34.104745566 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-#name: x86-64 rela relocs w/ non-zero relocated fields
@ -260,11 +260,11 @@ Index: binutils-2.42/ld/testsuite/ld-x86-64/rela.d
-
-Contents of section .data:
- *[0-9a-f]*0 .8 ?.. ?.. ?.. 00 ?00 ?00 ?00 .0 ?.. ?.. ?.. 44 ?44 ?44 ?44 .*
Index: binutils-2.42/ld/testsuite/ld-x86-64/x86-64.exp
Index: binutils-2.43/ld/testsuite/ld-x86-64/x86-64.exp
===================================================================
--- binutils-2.42.orig/ld/testsuite/ld-x86-64/x86-64.exp 2024-01-30 16:57:58.487327524 +0100
+++ binutils-2.42/ld/testsuite/ld-x86-64/x86-64.exp 2024-01-30 17:55:13.480432003 +0100
@@ -291,7 +291,6 @@ run_dump_test "apic"
--- binutils-2.43.orig/ld/testsuite/ld-x86-64/x86-64.exp 2024-08-06 16:48:34.104745566 +0200
+++ binutils-2.43/ld/testsuite/ld-x86-64/x86-64.exp 2024-08-06 16:48:36.554787135 +0200
@@ -309,7 +309,6 @@ run_dump_test "apic"
run_dump_test "pcrel8"
run_dump_test "pcrel16"
run_dump_test "pcrel16-2"
@ -272,7 +272,7 @@ Index: binutils-2.42/ld/testsuite/ld-x86-64/x86-64.exp
run_dump_test "tlsgd2"
run_dump_test "tlsgd3"
run_dump_test "tlsgd12"
@@ -506,10 +505,10 @@ run_dump_test "pr27491-1c"
@@ -524,10 +523,10 @@ run_dump_test "pr27491-1c"
run_dump_test "pr27491-2"
run_dump_test "pr27491-3"
run_dump_test "pr27491-4"
@ -287,11 +287,11 @@ Index: binutils-2.42/ld/testsuite/ld-x86-64/x86-64.exp
run_dump_test "pr30787"
run_dump_test "pr31047"
run_dump_test "pr31047-x32"
Index: binutils-2.42/binutils/testsuite/lib/binutils-common.exp
Index: binutils-2.43/binutils/testsuite/lib/binutils-common.exp
===================================================================
--- binutils-2.42.orig/binutils/testsuite/lib/binutils-common.exp 2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42/binutils/testsuite/lib/binutils-common.exp 2024-01-30 17:54:25.166311271 +0100
@@ -449,6 +449,8 @@ proc supports_persistent_section {} {
--- binutils-2.43.orig/binutils/testsuite/lib/binutils-common.exp 2024-08-06 16:48:34.104745566 +0200
+++ binutils-2.43/binutils/testsuite/lib/binutils-common.exp 2024-08-06 16:48:36.554787135 +0200
@@ -470,6 +470,8 @@ proc supports_persistent_section {} {
# Whether a target support DT_RELR sections.
proc supports_dt_relr {} {
@ -299,11 +299,11 @@ Index: binutils-2.42/binutils/testsuite/lib/binutils-common.exp
+ return 0
if { ([istarget x86_64-*-*]
|| [istarget i?86-*-*]
|| [istarget powerpc64*-*-*])
Index: binutils-2.42/ld/emulparams/dt-relr.sh
|| [istarget powerpc64*-*-*]
Index: binutils-2.43/ld/emulparams/dt-relr.sh
===================================================================
--- binutils-2.42.orig/ld/emulparams/dt-relr.sh 2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42/ld/emulparams/dt-relr.sh 2024-01-30 17:54:25.166311271 +0100
--- binutils-2.43.orig/ld/emulparams/dt-relr.sh 2024-08-06 16:48:34.104745566 +0200
+++ binutils-2.43/ld/emulparams/dt-relr.sh 2024-08-06 16:48:36.554787135 +0200
@@ -1,3 +1,8 @@
+if false; then
+ # on old codestreams we don't have the DT_RELR support in the dynamic
@ -319,10 +319,10 @@ Index: binutils-2.42/ld/emulparams/dt-relr.sh
PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_PACK_RELATIVE_RELOCS"
+
+fi
Index: binutils-2.42/ld/testsuite/ld-i386/i386.exp
Index: binutils-2.43/ld/testsuite/ld-i386/i386.exp
===================================================================
--- binutils-2.42.orig/ld/testsuite/ld-i386/i386.exp 2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42/ld/testsuite/ld-i386/i386.exp 2024-01-30 17:54:25.166311271 +0100
--- binutils-2.43.orig/ld/testsuite/ld-i386/i386.exp 2024-08-06 16:48:34.104745566 +0200
+++ binutils-2.43/ld/testsuite/ld-i386/i386.exp 2024-08-06 16:48:36.554787135 +0200
@@ -507,8 +507,8 @@ run_dump_test "pr27491-1c"
run_dump_test "pr27491-2"
run_dump_test "pr27491-3"
@ -334,10 +334,10 @@ Index: binutils-2.42/ld/testsuite/ld-i386/i386.exp
run_dump_test "pr28870"
run_dump_test "pr28894"
run_dump_test "pr30787"
Index: binutils-2.42/ld/testsuite/ld-powerpc/powerpc.exp
Index: binutils-2.43/ld/testsuite/ld-powerpc/powerpc.exp
===================================================================
--- binutils-2.42.orig/ld/testsuite/ld-powerpc/powerpc.exp 2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42/ld/testsuite/ld-powerpc/powerpc.exp 2024-01-30 17:54:25.166311271 +0100
--- binutils-2.43.orig/ld/testsuite/ld-powerpc/powerpc.exp 2024-08-06 16:48:34.104745566 +0200
+++ binutils-2.43/ld/testsuite/ld-powerpc/powerpc.exp 2024-08-06 16:48:36.554787135 +0200
@@ -378,14 +378,14 @@ set ppc64elftests {
"-a64" {abs-reloc.s}
{{objdump {-sdr} abs-shared.d}
@ -361,11 +361,11 @@ Index: binutils-2.42/ld/testsuite/ld-powerpc/powerpc.exp
}
set ppceabitests {
Index: binutils-2.42/gas/testsuite/gas/i386/x86-64.exp
Index: binutils-2.43/gas/testsuite/gas/i386/x86-64.exp
===================================================================
--- binutils-2.42.orig/gas/testsuite/gas/i386/x86-64.exp 2024-01-29 01:00:00.000000000 +0100
+++ binutils-2.42/gas/testsuite/gas/i386/x86-64.exp 2024-01-30 17:54:25.166311271 +0100
@@ -628,7 +628,6 @@ if [is_elf_format] then {
--- binutils-2.43.orig/gas/testsuite/gas/i386/x86-64.exp 2024-08-06 16:48:34.104745566 +0200
+++ binutils-2.43/gas/testsuite/gas/i386/x86-64.exp 2024-08-06 16:48:36.554787135 +0200
@@ -653,7 +653,6 @@ if [is_elf_format] then {
run_list_test "reloc64" "--defsym _bad_=1"
run_list_test "x86-64-inval-tls"
run_dump_test "mixed-mode-reloc64"

View File

@ -1,3 +1,106 @@
-------------------------------------------------------------------
Tue Dec 17 14:09:54 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Unset SUSE_ZNOW while running testsuite, many tests cannot cope
-------------------------------------------------------------------
Mon Dec 9 14:49:46 UTC 2024 - Michael Matz <matz@suse.com>
- Update to current 2.43.1 branch [PED-10254, PED-10306]:
* s390 - Add arch15 instructions
* various fixes from upstream: PR32153, PR32171, PR32189,
PR32196, PR32191, PR32109, PR32372, PR32387
- Adjusted binutils-2.43-branch.diff.gz.
- Disable zstd-by-default again (needs adjustments in at least
golang,llvm15,llvm17 first)
- Add binutils-fix-branch.diff.
- Check non-changing of flex/bison inputs only after applying
branch and fix-branch diffs.
-------------------------------------------------------------------
Wed Nov 20 14:59:28 UTC 2024 - Jiri Slaby <jslaby@suse.cz>
- drop ld-relro.diff (relro is the default for some time)
and it warns on avr spuriously (bsc#1233520)
-------------------------------------------------------------------
Mon Nov 18 18:12:05 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Add loongarch64 as new target
-------------------------------------------------------------------
Tue Sep 10 05:25:27 UTC 2024 - Martin Liška <martin.liska@hey.com>
- Enable zstd compression algorithm (instead of zlib)
for debug info sections by default.
-------------------------------------------------------------------
Wed Aug 28 13:18:28 UTC 2024 - Michael Matz <matz@suse.com>
- Update to current 2.43.1 branch [PED-10474]:
* PR32109 - fuzzing problem
* PR32083 - LTO vs overridden common symbols
* PR32067 - crash with LTO-plugin and --oformat=binary
* PR31956 - LTO vs wrapper symbols
* riscv - add Zimop and Zcmop extensions
- Adjusted binutils-2.43-branch.diff.gz.
-------------------------------------------------------------------
Tue Aug 6 14:09:24 UTC 2024 - Michael Matz <matz@suse.com>
- Update to version 2.43:
* new .base64 pseudo-op, allowing base64 encoded data as strings
* Intel APX: add support for CFCMOV, CCMP, CTEST, zero-upper, NF
(APX_F now fully supported)
* x86 Intel syntax now warns about more mnemonic suffixes
* macros and .irp/.irpc/.rept bodies can use \+ to get at number
of times the macro/body was executed
* aarch64: support 'armv9.5-a' for -march, add support for LUT
and LUT2
* s390: base register operand in D(X,B) and D(L,B) can now be
omitted (ala 'D(X,)'); warn when register type doesn't match
operand type (use option
'warn-regtype-mismatch=[strict|relaxed|no]' to adjust)
* riscv: support various extensions: Zacas, Zcmp, Zfbfmin,
Zvfbfmin, Zvfbfwma, Smcsrind/Sscsrind, XCvMem, XCvBi, XCvElw,
XSfCease, all at version 1.0;
remove support for assembly of privileged spec 1.9.1 (linking
support remains)
* arm: remove support for some old co-processors: Maverick and FPA
* mips: '--trap' now causes either trap or breakpoint instructions
to be emitted as per current ISA, instead of always using trap
insn and failing when current ISA was incompatible with that
* LoongArch: accept .option pseudo-op for fine-grained control
of assembly code options; add support for DT_RELR
* readelf: now displays RELR relocations in full detail;
add -j/--display-section to show just those section(s) content
according to their type
* objdump/readelf now dump also .eh_frame_hdr (when present) when
dumping .eh_frame
* gprofng: add event types for AMD Zen3/Zen4 and Intel Ice Lake
processors; add minimal support for riscv
* linker:
- put .got and .got.plt into relro segment
- add -z isa-level-report=[none|all|needed|used] to the x86 ELF
linker to report needed and used x86-64 ISA levels
- add --rosegment option which changes the -z separate-code
option so that only one read-only segment is created (instead
of two)
- add --section-ordering-file <FILE> option to add extra
mapping of input sections to output sections
- add -plugin-save-temps to store plugin intermediate files
permanently
- Removed binutils-2.42.tar.bz2, binutils-2.42-branch.diff.gz.
- Added binutils-2.43.tar.bz2, binutils-2.43-branch.diff.gz.
- Removed upstream patch riscv-no-relax.patch.
- Rebased ld-relro.diff and binutils-revert-rela.diff.
-------------------------------------------------------------------
Thu Jun 13 08:35:38 UTC 2024 - Andreas Schwab <schwab@suse.de>
- binutils-pr22868.diff: Remove obsolete patch
- Undefine _FORTIFY_SOURCE when running checks
-------------------------------------------------------------------
Wed May 1 09:52:29 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -64,7 +64,7 @@ BuildRequires: zlib-devel
%if %{suse_version} > 1500
BuildRequires: libzstd-devel
%endif
Version: 2.42
Version: 2.43
Release: 0
# disable libalternatives for now until it's changed to not
@ -104,7 +104,7 @@ Release: 0
%else
%define build_multitarget 0
%endif
%define target_list aarch64 alpha armv5l armv6l armv7l armv8l avr pru epiphany hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 powerpc64le riscv64 rx s390 s390x sh4 sparc sparc64 x86_64 xtensa
%define target_list aarch64 alpha armv5l armv6l armv7l armv8l avr pru epiphany hppa hppa64 i686 ia64 loongarch64 m68k mips powerpc powerpc64 powerpc64le riscv64 rx s390 s390x sh4 sparc sparc64 x86_64 xtensa
%define build_gprofng 0
@ -131,12 +131,12 @@ Source: binutils-%{version}.tar.bz2
Source2: binutils-%{version}.tar.bz2.sig
Source3: binutils.keyring
Source4: baselibs.conf
Patch1: binutils-2.42-branch.diff.gz
Patch1: binutils-2.43-branch.diff.gz
Patch2: binutils-fix-branch.diff
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
Patch6: unit-at-a-time.patch
Patch8: ld-relro.diff
Patch9: testsuite.diff
Patch10: enable-targets-gold.diff
Patch12: s390-pic-dso.diff
@ -144,7 +144,6 @@ Patch14: binutils-build-as-needed.diff
Patch15: binutils-znow.patch
Patch22: binutils-bfd_h.patch
Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff
Patch39: binutils-revert-nm-symversion.diff
@ -154,7 +153,6 @@ Patch42: binutils-compat-old-behaviour.diff
Patch43: binutils-revert-hlasm-insns.diff
Patch44: binutils-revert-rela.diff
Patch60: binutils-disable-code-arch-error.diff
Patch61: riscv-no-relax.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -247,19 +245,23 @@ The next generation profiling tool for Linux
echo "make check will return with %{make_check_handling} in case of testsuite failures."
%setup -q -n binutils-%{version}
# Backup flex and biscon files for later verification.
cp ld/ldlex.l ld/ldlex.l.orig
cp ld/ldgram.y ld/ldgram.y.orig
# Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch -P 1 -p1
%patch -P 2 -p1
# Backup flex and biscon files for later verification. Do this
# after branch and fix-branch patches are applied (which are assumed
# to manual fixup generated files, in case the branch diff touches
# the flex/bison source files)
cp ld/ldlex.l ld/ldlex.l.orig
cp ld/ldgram.y ld/ldgram.y.orig
%if !%{test_vanilla}
%patch -P 3 -p1
%patch -P 4
%patch -P 5
%patch -P 6
%patch -P 8
%patch -P 9
%patch -P 10
%patch -P 12
@ -267,7 +269,6 @@ cp ld/ldgram.y ld/ldgram.y.orig
%patch -P 15
%patch -P 22
%patch -P 34 -p1
%patch -P 36 -p1
%if %{suse_version} < 1550
%patch -P 37 -p1
%endif
@ -281,7 +282,6 @@ cp ld/ldgram.y ld/ldgram.y.orig
%patch -P 44 -p1
%endif
%patch -P 60 -p1
%patch -P 61 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch -P 90
@ -392,8 +392,9 @@ cd build-dir
--enable-warn-execstack=yes \
--enable-warn-rwx-segments=yes
#FIXME: enable in the future
#%if %{suse_version} > 1550
# FIXME: enable in future, when at least llvm15,llvm17,golang are
# fixed to accept zstd
#%if %{suse_version} > 1600
# --enable-default-compressed-debug-sections-algorithm=zstd \
#%endif
@ -493,7 +494,7 @@ make -C gas-nesc %{?make_output_sync} %{?_smp_mflags}
%endif
%check
unset SUSE_ASNEEDED
unset SUSE_ASNEEDED SUSE_ZNOW
# newer distros set this envvar (e.g. to get deterministic archives by default)
# but of course that breaks tests that precisely are
# designed for checking file replacement in archives based on mtime.
@ -503,7 +504,8 @@ cd build-dir
%if 0%{?cross:1}
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
%else
make -k check CFLAGS="-g $RPM_OPT_FLAGS" CXXFLAGS="-g $RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="-g $RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="-g $RPM_OPT_FLAGS" || %{make_check_handling}
# _FORTIFY_SOURCE does not work with -O0
make -k check CFLAGS="-g $RPM_OPT_FLAGS -U_FORTIFY_SOURCE" CXXFLAGS="-g $RPM_OPT_FLAGS -U_FORTIFY_SOURCE" CFLAGS_FOR_TARGET="-g $RPM_OPT_FLAGS -U_FORTIFY_SOURCE" CXXFLAGS_FOR_TARGET="-g $RPM_OPT_FLAGS -U_FORTIFY_SOURCE" || %{make_check_handling}
%endif
%install

View File

@ -1,63 +0,0 @@
Index: ld/lexsup.c
===================================================================
--- ld/lexsup.c.orig 2014-10-14 17:43:07.000000000 +0200
+++ ld/lexsup.c 2014-10-14 17:43:26.000000000 +0200
@@ -623,6 +623,9 @@ parse_args (unsigned argc, char **argv)
}
}
+ optarg = "relro";
+ ldemul_handle_option ('z');
+
last_optind = -1;
while (1)
{
Index: ld/testsuite/config/default.exp
===================================================================
--- ld/testsuite/config/default.exp.orig 2014-10-14 17:43:07.000000000 +0200
+++ ld/testsuite/config/default.exp 2014-10-14 17:44:58.000000000 +0200
@@ -22,7 +22,7 @@
#
if ![info exists ld] then {
- set ld [findfile $base_dir/ld-new $base_dir/ld-new [transform ld]]
+ set ld "[findfile $base_dir/ld-new $base_dir/ld-new [transform ld]] -znorelro"
}
if ![info exists as] then {
@@ -70,7 +70,7 @@ if {[info exists ld_testsuite_bindir]} {
catch "exec ln -s ld tmpdir/ld/collect-ld" status
catch "exec ln -s ../../../gas/as-new tmpdir/ld/as" status
}
- set gcc_B_opt "-B[pwd]/tmpdir/ld/"
+ set gcc_B_opt "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro"
}
# load the linker path
@@ -272,7 +272,7 @@ if ![info exists READELFFLAGS] then {
}
if ![info exists LD] then {
- set LD [findfile $base_dir/ld-new ./ld-new [transform ld]]
+ set LD "[findfile $base_dir/ld-new ./ld-new [transform ld]] -znorelro"
}
if ![info exists LDFLAGS] then {
Index: ld/testsuite/ld-bootstrap/bootstrap.exp
===================================================================
--- ld/testsuite/ld-bootstrap/bootstrap.exp.orig 2014-10-14 17:43:07.000000000 +0200
+++ ld/testsuite/ld-bootstrap/bootstrap.exp 2014-10-14 17:43:26.000000000 +0200
@@ -106,7 +106,12 @@ foreach flags $test_flags {
# This test can only be run if we have the ld build directory,
# since we need the object files.
- if {[file normalize $ld] != [file normalize $objdir/ld-new]} {
+ set ldexe $ld
+ set ldparm [string first " " $ld]
+ if { $ldparm > 0 } then {
+ set ldexe [string range $ld 0 $ldparm]
+ }
+ if {[file normalize $ldexe] != [file normalize $objdir/ld-new]} {
untested $testname
continue
}

View File

@ -1,64 +0,0 @@
From af514e5f6d1d0233a251a3ae17f7cb8d9ba8e36b Mon Sep 17 00:00:00 2001
From: Nelson Chu <nelson@rivosinc.com>
Date: Mon, 29 Jan 2024 21:17:41 +0800
Subject: [PATCH] RISC-V: Don't generate branch/jump relocation if symbol is
local when no-relax.
Refer to commit, dff565fcca8137954d6ad571ef39f6aec5c0429c. Theoretically,
assembler don't need to generate the pc-relative relocation and the refered
local .L symbol when relaxation is disabled. The above commit improved the
pcrel_hi/pcrel_lo relocations, and this commit improves branch and jump
relocations.
Passed the gcc/binutils regressions of riscv-gnu-toolchain.
gas/
* config/tc-riscv.c (md_apply_fix): Raise fixP->fx_done for all
branch and jump relocations when -mno-relax.
---
gas/config/tc-riscv.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
index a4161420128..cbead954f09 100644
--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -4390,6 +4390,8 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
bfd_vma target = S_GET_VALUE (fixP->fx_addsy) + *valP;
bfd_vma delta = target - md_pcrel_from (fixP);
bfd_putl32 (bfd_getl32 (buf) | ENCODE_JTYPE_IMM (delta), buf);
+ if (!riscv_opts.relax && S_IS_LOCAL (fixP->fx_addsy))
+ fixP->fx_done = 1;
}
break;
@@ -4400,6 +4402,8 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
bfd_vma target = S_GET_VALUE (fixP->fx_addsy) + *valP;
bfd_vma delta = target - md_pcrel_from (fixP);
bfd_putl32 (bfd_getl32 (buf) | ENCODE_BTYPE_IMM (delta), buf);
+ if (!riscv_opts.relax && S_IS_LOCAL (fixP->fx_addsy))
+ fixP->fx_done = 1;
}
break;
@@ -4410,6 +4414,8 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
bfd_vma target = S_GET_VALUE (fixP->fx_addsy) + *valP;
bfd_vma delta = target - md_pcrel_from (fixP);
bfd_putl16 (bfd_getl16 (buf) | ENCODE_CBTYPE_IMM (delta), buf);
+ if (!riscv_opts.relax && S_IS_LOCAL (fixP->fx_addsy))
+ fixP->fx_done = 1;
}
break;
@@ -4420,6 +4426,8 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
bfd_vma target = S_GET_VALUE (fixP->fx_addsy) + *valP;
bfd_vma delta = target - md_pcrel_from (fixP);
bfd_putl16 (bfd_getl16 (buf) | ENCODE_CJTYPE_IMM (delta), buf);
+ if (!riscv_opts.relax && S_IS_LOCAL (fixP->fx_addsy))
+ fixP->fx_done = 1;
}
break;
--
2.43.2