SHA256
1
0
forked from pool/binutils
Commit Graph

13 Commits

Author SHA256 Message Date
Michael Matz
79d05b9598 Accepting request 1060669 from home:marxin:branches:devel:gcc
- Update to version 2.40:
* Objdump has a new command line option --show-all-symbols which will make it
  display all symbols that match a given address when disassembling.  (Normally
  only the first symbol that matches an address is shown).
* Add --enable-colored-disassembly configure time option to enable colored
  disassembly output by default, if the output device is a terminal.  Note,
  this configure option is disabled by default.
* DCO signed contributions are now accepted.
* objcopy --decompress-debug-sections now supports zstd compressed debug
  sections.  The new option --compress-debug-sections=zstd compresses debug
  sections with zstd.
* addr2line and objdump --dwarf now support zstd compressed debug sections.
* The dlltool program now accepts --deterministic-libraries and
  --non-deterministic-libraries as command line options to control whether or
  not it generates deterministic output libraries.  If neither of these options
  are used the default is whatever was set when the binutils were configured.
* readelf and objdump now have a newly added option --sframe which dumps the
  SFrame section.
* Add support for Intel RAO-INT instructions.
* Add support for Intel AVX-NE-CONVERT instructions.
* Add support for Intel MSRLIST instructions.
* Add support for Intel WRMSRNS instructions.
* Add support for Intel CMPccXADD instructions.
* Add support for Intel AVX-VNNI-INT8 instructions.
* Add support for Intel AVX-IFMA instructions.
* Add support for Intel PREFETCHI instructions.
* Add support for Intel AMX-FP16 instructions.
* gas now supports --compress-debug-sections=zstd to compress
  debug sections with zstd.
* Add --enable-default-compressed-debug-sections-algorithm={zlib,zstd}

OBS-URL: https://build.opensuse.org/request/show/1060669
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=429
2023-01-24 15:25:48 +00:00
Martin Liška
daae1fdd3d Accepting request 993443 from home:marxin:branches:devel:gcc
- 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
    --weaken-symbols options now works with unique symbols as well.
- Rebase binutils-compat-old-behaviour.diff, binutils-revert-hlasm-insns.diff,
  binutils-revert-plt32-in-branches.diff and remove binutils-2.38-branch.diff.gz.
- For now use --disable-gprofng.
- Includes fixes for these CVEs:
  bnc#1142579 aka CVE-2019-1010204 aka PR23765

OBS-URL: https://build.opensuse.org/request/show/993443
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=413
2022-08-06 13:10:01 +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
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
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
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
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
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
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
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
3dc19e9f8a - Update to current 2.32 branch
- XXX

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=309
2019-09-09 17:22:18 +00:00
Michael Matz
afea8f6d7a Accepting request 671129 from home:marxin:branches:devel:gcc
- 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-[123].diff,
  gold-depend-on-opcodes.diff and s390-relro.diff.
- Refresh binutils-skip-rpaths.patch, s390-biarch.diff, cross-avr-size.patch
  and binutils-revert-plt32-in-branches.diff.
- 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-[123].diff,
  gold-depend-on-opcodes.diff and s390-relro.diff.
- Refresh binutils-skip-rpaths.patch, s390-biarch.diff, cross-avr-size.patch
  and binutils-revert-plt32-in-branches.diff.

OBS-URL: https://build.opensuse.org/request/show/671129
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=294
2019-02-04 14:23:14 +00:00
Michael Matz
a4e84e54d4 - Update to binutils-2_31-branch @e51abf7e3, minor bugfixes in
the support for the X86_ISA_1_* notes.  Adds
  patch binutils-2.31-branch.diff.gz .
- Add binutils-revert-plt32-in-branches.diff on anything older
  than Tumbleweed to not break old tools not expecting
  PLT32 instead of PC32 relocs on x86_64.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=284
2018-08-28 14:17:33 +00:00