Commit Graph

352 Commits

Author SHA256 Message Date
Michael Matz
303dd11d49 - Make it build on SLE-11 again.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=389
2022-02-23 17:53:55 +00:00
Michael Matz
ccd355274b Accepting request 956642 from home:marxin:branches:devel:gcc
- Use verbose mode for make.

OBS-URL: https://build.opensuse.org/request/show/956642
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=388
2022-02-22 14:37:51 +00:00
Michael Matz
fd2a841d44 Accepting request 953949 from home:marxin:branches:devel:gcc
- Update to binutils 2.38:
  * elfedit: Add --output-abiversion option to update ABIVERSION.
  * Add support for the LoongArch instruction set.
  * Tools which display symbols or strings (readelf, strings, nm, objdump)
    have a new command line option which controls how unicode characters are
    handled.  By default they are treated as normal for the tool.  Using
    --unicode=locale will display them according to the current locale.
    Using --unicode=hex will display them as hex byte values, whilst
    --unicode=escape will display them as escape sequences.  In addition
    using --unicode=highlight will display them as unicode escape sequences
    highlighted in red (if supported by the output device).
  * readelf -r dumps RELR relative relocations now.
  * Support for efi-app-aarch64, efi-rtdrv-aarch64 and efi-bsdrv-aarch64 has been
    added to objcopy in order to enable UEFI development using binutils.
  * ar: Add --thin for creating thin archives. -T is a deprecated alias without
    diagnostics. In many ar implementations -T has a different meaning, as
    specified by X/Open System Interface.
  * Add support for AArch64 system registers that were missing in previous
    releases.
  * Add support for the LoongArch instruction set.
  * Add a command-line option, -muse-unaligned-vector-move, for x86 target
    to encode aligned vector move as unaligned vector move.
  * Add support for Cortex-R52+ for Arm.
  * Add support for Cortex-A510, Cortex-A710, Cortex-X2 for AArch64.
  * Add support for Cortex-A710 for Arm.
  * Add support for Scalable Matrix Extension (SME) for AArch64.
  * The --multibyte-handling=[allow|warn|warn-sym-only] option tells the
    assembler what to when it encoutners multibyte characters in the input.  The
    default is to allow them.  Setting the option to "warn" will generate a
    warning message whenever any multibyte character is encountered.  Using the

There are no new CVEs fixed in the release.

OBS-URL: https://build.opensuse.org/request/show/953949
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=387
2022-02-14 15:11:29 +00:00
Martin Liška
d79ff58fe0 Accepting request 951572 from home:matwey:gcc-pru
- Enable PRU architecture for AM335x CPU (Beagle Bone Black board)

OBS-URL: https://build.opensuse.org/request/show/951572
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=386
2022-02-12 16:21:49 +00:00
Michael Matz
145240cbab Accepting request 949605 from home:dirkmueller:Factory
- use fdupes on datadir
- remove RPM_BUILD_ROOT usage and other cleanups 

- use fdupes on datadir
- remove RPM_BUILD_ROOT usage and other cleanups 

- use fdupes on datadir
- remove RPM_BUILD_ROOT usage and other cleanups 

- use fdupes on datadir
- remove RPM_BUILD_ROOT usage and other cleanups 

- use fdupes on datadir
- remove RPM_BUILD_ROOT usage and other cleanups 

- use fdupes on datadir
- remove RPM_BUILD_ROOT usage and other cleanups 

- use fdupes on datadir
- remove RPM_BUILD_ROOT usage and other cleanups 

- use fdupes on datadir
- remove RPM_BUILD_ROOT usage and other cleanups 

- use fdupes on datadir
- remove RPM_BUILD_ROOT usage and other cleanups 

- use fdupes on datadir
- remove RPM_BUILD_ROOT usage and other cleanups

OBS-URL: https://build.opensuse.org/request/show/949605
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=385
2022-01-31 13:21:02 +00:00
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
2a8382549a Forgot to remove some files
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=377
2021-11-02 16:37:43 +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
a362b336fe Try to get separate make headers working with PGO+LTO build
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=374
2021-10-19 16:31:03 +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
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