Commit Graph

335 Commits

Author SHA256 Message Date
Michael Matz
30b18fbb6b Work around dependency problems
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=371
2021-10-12 14:01:53 +00:00
Michael Matz
f755c60377 - Bump binutils-2.37-branch.diff to 66d5c7003, to include fixes for
PR28422, PR28192, PR28391.  Also adds some s390x arch14
  instructions [jsc#SLE-18637].

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=370
2021-10-12 12:56:27 +00:00
Michael Matz
28c928537a - Configure with --disable-x86-used-note on old code streams.
- This state submitted to SLE12 and SLE15 code streams for annual
  toolchain update. [jsc#PM-2767, jsc#SLE-21561, jsc#SLE-19618]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=369
2021-10-11 14:53:18 +00:00
Michael Matz
628ae5d647 Accepting request 919840 from home:schubi2
- Using libalternatives instead of update-alternatives.
-

OBS-URL: https://build.opensuse.org/request/show/919840
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=368
2021-09-20 12:28:03 +00:00
Michael Matz
a922d937e8 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=366
2021-09-08 18:16:29 +00:00
Michael Matz
31fcbc6d1a Accepting request 910001 from home:marxin:branches:devel:gcc
- Bump binutils-2.37-branch.diff: fixes PR28138.

OBS-URL: https://build.opensuse.org/request/show/910001
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=365
2021-08-03 14:13:58 +00:00
Michael Matz
b73fcadbc1 Accepting request 907808 from home:marxin:branches:devel:gcc
- Use LTO & PGO build.

OBS-URL: https://build.opensuse.org/request/show/907808
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=364
2021-07-23 12:46:58 +00:00
Michael Matz
7c6063bdba Accepting request 907786 from home:marxin:branches:devel:gcc
- Update to binutils 2.37:
  * The GNU Binutils sources now requires a C99 compiler and library to
    build.
  * Support for the arm-symbianelf format has been removed.
  * Support for Realm Management Extension (RME) for AArch64 has been
    added.
  * A new linker option '-z report-relative-reloc' for x86 ELF targets
    has been added to report dynamic relative relocations.
  * A new linker option '-z start-stop-gc' has been added to disable
    special treatment of __start_*/__stop_* references when
    --gc-sections.
  * A new linker options '-Bno-symbolic' has been added which will
    cancel the '-Bsymbolic' and '-Bsymbolic-functions' options.
  * The readelf tool has a new command line option which can be used to
    specify how the numeric values of symbols are reported.
    --sym-base=0|8|10|16 tells readelf to display the values in base 8,
    base 10 or base 16.  A sym base of 0 represents the default action
    of displaying values under 10000 in base 10 and values above that in
    base 16.
  * A new format has been added to the nm program.  Specifying
    '--format=just-symbols' (or just using -j) will tell the program to
    only display symbol names and nothing else.
  * A new command line option '--keep-section-symbols' has been added to
    objcopy and strip.  This stops the removal of unused section symbols
    when the file is copied.  Removing these symbols saves space, but
    sometimes they are needed by other tools.
  * The '--weaken', '--weaken-symbol' and '--weaken-symbols' options
    supported by objcopy now make undefined symbols weak on targets that
    support weak symbols. 
  * Readelf and objdump can now display and use the contents of .debug_sup

OBS-URL: https://build.opensuse.org/request/show/907786
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=363
2021-07-22 15:42:08 +00:00
Michael Matz
dfa67a8b85 Accepting request 891347 from home:Andreas_Schwab:bison
- 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)

OBS-URL: https://build.opensuse.org/request/show/891347
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=361
2021-05-10 12:35:45 +00:00
Martin Liška
e4417f79b8 Accepting request 881485 from home:marxin:branches:devel:gcc222
- Update 2.36 branch diff which fixes PR27587.

OBS-URL: https://build.opensuse.org/request/show/881485
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=359
2021-03-26 11:22:28 +00:00
Michael Matz
5002f51383 Accepting request 876533 from home:marxin:branches:devel:gcc
- Do not run make TARGET-bfd=headers separately.

OBS-URL: https://build.opensuse.org/request/show/876533
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=357
2021-03-03 17:03:59 +00:00
Richard Biener
c38ca430ae Accepting request 875982 from home:marxin:branches:devel:gcc
- Bump 2.36 branch diff (includes fix for PR27441 aka bsc#1182252).

OBS-URL: https://build.opensuse.org/request/show/875982
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=356
2021-03-01 12:51:17 +00:00
Michael Matz
c6fd11318f Accepting request 869133 from home:marxin:branches:devel:gcc
- Bump 2.36 branch diff.

OBS-URL: https://build.opensuse.org/request/show/869133
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=354
2021-02-04 13:12:08 +00:00
Michael Matz
f34b0daae3 Accepting request 868915 from home:marxin:branches:devel:gcc
- Update 2.36 branch diff which should fix PR27311 completely.
  It fixes also PR27284.
- Remove temporary fix 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch.

OBS-URL: https://build.opensuse.org/request/show/868915
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=353
2021-02-03 13:36:09 +00:00
Michael Matz
828225cbef Accepting request 868645 from home:marxin:branches:devel:gcc
- Add temporary upstream fix for PR27311
  0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch.

OBS-URL: https://build.opensuse.org/request/show/868645
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=352
2021-02-02 13:14:55 +00:00
Michael Matz
90062cf64b Accepting request 867474 from home:marxin:branches:devel:gcc
- Update to binutils 2.36:

OBS-URL: https://build.opensuse.org/request/show/867474
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=351
2021-01-28 13:33:36 +00:00
Michael Matz
1ab33b497b - Add binutils-fix-relax.diff to fix linking relaxation problems
with old object files hitting some enterprise software. [bsc#1179341]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=350
2020-12-04 14:56:26 +00:00
Michael Matz
a0ed9a9ba6 - Update binutils-2.35-branch.diff.gz to commit 1c5243df:
* Fixes PR26520, aka [bsc#1179036], a problem in addr2line with
    certain DWARF variable descriptions.
  * Also fixes PR26711, PR26656, PR26655, PR26929, PR26808, PR25878,
    PR26740, PR26778, PR26763, PR26685, PR26699, PR26902, PR26869,
    PR26711 
  * The above includes fixes for dwo files produced by modern dwp,
    fixing several problems in the DWARF reader.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=348
2020-11-23 14:17:03 +00:00
Michael Matz
4d17e9a83d - Amend binutils-revert-plt32-in-branches.diff to adjust also new
testcases.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=347
2020-11-20 15:34:31 +00:00
Michael Matz
3267ec3bb5 Accepting request 848022 from home:marxin:branches:devel:gcc-new
- 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.

OBS-URL: https://build.opensuse.org/request/show/848022
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=346
2020-11-12 13:24:31 +00:00
OBS User buildservice-autocommit
e02e8e6ff6 Accepting request 834649 from devel:gcc
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/834649
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=345
2020-11-07 20:00:38 +00:00
OBS User buildservice-autocommit
73aaf02f28 Updating link to change in openSUSE:Factory/binutils revision 144.0
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=4833bc4f888de9eeb43439b2255adcf4
2020-11-07 20:00:38 +00:00
Michael Matz
f1db3f8766 Accepting request 841259 from home:StefanBruens:branches:devel:gcc
- Reapply spec file cleanup from format_spec_file
- Remove a SLE10 version check

OBS-URL: https://build.opensuse.org/request/show/841259
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=344
2020-10-12 13:13:53 +00:00
Michael Matz
0057780e1d Mention SLE-only changes
- Includes changes that were SLE-only in binutils-add-z15-name.diff
  for [bsc#1160590, jsc#SLE-7903 aka jsc#SLE-7464]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=343
2020-09-15 13:16:25 +00:00
Michael Matz
a89d7124af - 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]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=342
2020-09-15 12:33:52 +00:00
Richard Biener
79c794c6c5 Accepting request 826840 from home:marxin:branches:devel:gcc
- Add binutils-2.35-branch.diff.gz: it includes fix for
  nm -B for objects compiled with -flto and -fcommon.

OBS-URL: https://build.opensuse.org/request/show/826840
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=341
2020-08-24 10:18:52 +00:00
Michael Matz
f041903f7b service run
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=340
2020-08-11 14:17:13 +00:00
Michael Matz
6c0b92b0e7 - 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).

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=339
2020-08-11 14:14:33 +00:00
Michael Matz
a121495e23 Accepting request 822679 from home:marxin:branches:devel:gcc
- 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.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.

OBS-URL: https://build.opensuse.org/request/show/822679
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=338
2020-07-31 14:32:51 +00:00
Michael Matz
31b9d23f98 Accepting request 788222 from home:marxin:branches:devel:gcc
- Update binutils-2.34-branch.diff.gz.

OBS-URL: https://build.opensuse.org/request/show/788222
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=336
2020-03-25 14:58:31 +00:00
Richard Biener
35637993a3 Accepting request 780369 from home:marxin:branches:devel:gcc
- Remove fix-try_load_plugin.patch as it is part
  of the updated binutils-2.34-branch.diff.gz patch.

OBS-URL: https://build.opensuse.org/request/show/780369
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=335
2020-03-04 09:15:36 +00:00
Richard Biener
7e7f54a04c - Add binutils-pr25593.diff to fix DT_NEEDED order with -flto
[bsc#1163744]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=334
2020-02-26 08:40:00 +00:00
Michael Matz
769c7a80d0 Accepting request 775267 from home:marxin:branches:devel:gcc
- Update fix-try_load_plugin.patch to latest version.

Patch version:
https://sourceware.org/bugzilla/show_bug.cgi?id=25355#c55

OBS-URL: https://build.opensuse.org/request/show/775267
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=333
2020-02-19 13:03:33 +00:00
Michael Matz
39ae550e77 Accepting request 775181 from home:marxin:branches:devel:gcc
- Add fix-try_load_plugin.patch in order to fix fallback caused
  by backport for PR25355.

The patch will be removed once the fix will reach 2.34 release
branch.

OBS-URL: https://build.opensuse.org/request/show/775181
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=332
2020-02-18 13:21:10 +00:00
Michael Matz
7678d731bf Accepting request 774884 from home:marxin:branches:devel:gcc-clean
- 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:
  bnc#1153768 aka CVE-2019-17451 aka PR25070
  bnc#1153770 aka CVE-2019-17450 aka PR25078

OBS-URL: https://build.opensuse.org/request/show/774884
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=331
2020-02-17 14:18:06 +00:00
Michael Matz
84a198e44e Accepting request 761623 from home:Andreas_Schwab:Factory
- Disable LTO during testsuite run

OBS-URL: https://build.opensuse.org/request/show/761623
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=329
2020-01-07 15:09:54 +00:00
Michael Matz
ee7fa9baa8 Add reference to bsc#1157755.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=327
2019-11-27 12:59:44 +00:00
Michael Matz
82f2912374 Improve patch and changes description.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=326
2019-11-20 16:28:19 +00:00
Michael Matz
288847c92a - Add binutils-fix-invalid-op-errata.diff to fix various
build fails (PR25210).

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=325
2019-11-20 16:24:56 +00:00
Michael Matz
a7c95a23a5 Sigh.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=324
2019-11-18 20:47:39 +00:00
Michael Matz
bdced9a844 Pfft, another change.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=323
2019-11-18 19:52:06 +00:00
Michael Matz
d6d76202e8 adjust patch
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=321
2019-11-18 17:53:50 +00:00
Michael Matz
be501ec5b6 - Add add-ulp-section.diff for user space live patching.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=320
2019-11-18 17:07:49 +00:00
Michael Matz
a68a047315 Accepting request 744399 from home:marxin:branches: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/744399
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=319
2019-10-31 12:46:17 +00:00
Michael Matz
0bf772be88 - Add binutils-fix-ld-segv.diff to fix a segfault in ld
when building some versions of pacemaker.  [bsc#1154025,
  bsc#1154016]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=318
2019-10-15 14:09:13 +00:00
Michael Matz
e896538e21 Mention the bug number.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=316
2019-10-02 12:26:09 +00:00
Michael Matz
a0c8cdd130 - Add avr, epiphany and rx to target_list so that the common
binutils can handle all objects we can create with crosses.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=315
2019-10-02 12:22:44 +00:00
Michael Matz
7767fa8a12 - Add avr, epiphany and rx to target_list so that the common
binutils can handle all objects we can create with crosses.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=314
2019-10-02 12:21:56 +00:00
Michael Matz
655f53d041 binutils-2.32-branch.diff.gz [jsc#ECO-368].
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=312
2019-09-10 15:31:59 +00:00
Michael Matz
5950369dfc - 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 .

Fake entry for SLE12 package variant only:
- Add support for new z13 instructions. [fate#327074, jsc#SLE-6206,
  bsc#1137271]
  Adds patches binutils-z13-1.diff, binutils-z13-2.diff,
  binutils-z13-3.diff, binutils-z13-4.diff and binutils-z13-5.diff .

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=311
2019-09-09 19:13:47 +00:00