SHA256
1
0
forked from pool/binutils
Commit Graph

294 Commits

Author SHA256 Message Date
Martin Liška
8ced92b0cb Accepting request 931144 from home:marxin:branches:devel:gcc
- Rebase binutils-2.37-branch.diff: fixes PR28494.

OBS-URL: https://build.opensuse.org/request/show/931144
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=384
2021-11-14 08:58:25 +00:00
Michael Matz
3e71827b33 More missing bug references
bnc#1184519 aka CVE-2021-20294 aka PR26929

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=383
2021-11-08 15:33:46 +00:00
Michael Matz
7b51e7db99 Also mention some fixed SLE bugs we forgot to mention.
- Also fixes:
  bsc#1183909 - slow performance of stripping some binaries

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=382
2021-11-08 15:31:11 +00:00
Michael Matz
5269a83494 as 'jgnop label' on s390x. [bsc#1192267]
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=380
2021-11-05 16:58:32 +00:00
Michael Matz
ad07722c9c - Add binutils-revert-hlasm-insns.diff for compatibility on old
code stream that expect 'brcl 0,label' to not be disassembled
  as 'jgnop label' on s390x.  [jsc#1192267]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=379
2021-11-05 16:57:07 +00:00
Martin Liška
f3f5f00678 Accepting request 928960 from home:marxin:branches:devel:gcc
- Rebase binutils-2.37-branch.diff: fixes PR28523 aka boo#1188941.

OBS-URL: https://build.opensuse.org/request/show/928960
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=378
2021-11-03 10:01:49 +00:00
Michael Matz
20813f4398 - Fix empty man-pages from broken release tarball [PR28144].
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=376
2021-11-02 15:59:30 +00:00
Richard Biener
d2d702311e Accepting request 928530 from home:marxin:branches:devel:gcc
- Update binutils-skip-rpaths.patch with contained a memory corruption
  (boo#1191473).

OBS-URL: https://build.opensuse.org/request/show/928530
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=375
2021-11-02 07:01:50 +00:00
Michael Matz
2af0b96406 - make TARGET-bfd=headers again, we patch bfd-in.h
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=373
2021-10-19 15:51:00 +00:00
Michael Matz
4da0b3516c - Disable libalternatives temporarily for build cycle reasons.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=372
2021-10-13 12:19:55 +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
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
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
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