- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Add usage of a SUSE_ZNOW environment variable which allows switching
on "-z now" by default using "export SUSE_ZNOW=1", similar to
OBS-URL: https://build.opensuse.org/request/show/963860
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=397
- 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
- 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
- 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
- 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
- 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