------------------------------------------------------------------- Tue Jan 30 13:52:11 UTC 2024 - Michael Matz - Update to version 2.42: * Add support for many aarch64 extensions: SVE2.1, SME2.1, B16B16, RASv2, LSE128, GCS, CHK, SPECRES2, LRCPC3, THE, ITE, D128, XS and flags to enable them: '+fcma', '+jscvt', '+frintts', '+flagm2', '+rcpc2' and '+wfxt' * Add experimantal support for GAS to synthesize call-frame-info for some hand-written asm (--scfi=experimental) on x86-64. * Add support for more x86-64 extensions: APX: 32 GPRs, NDD, PUSH2/POP2, PUSHP/POPP; USER_MSR, AVX10.1, PBNDKB, SM4, SM3, SHA512, AVX-VNNI-INT16. * Add support for more RISC-V extensions: T-Head v2.3.0, CORE-V v1.0, SiFive VCIX v1.0. * BPF assembler: ';' separates statements now, and does not introduce line comments anymore (use '#' or '//' for this). * x86-64 ld: Add '-z mark-plt/-z nomark-plt' to mark PLT entries with dynamic tags. * risc-v ld: Add '--[no-]check-uleb128'. * New linker script directive: REVERSE, to be combined with SORT_BY_NAME or SORT_BY_INIT_PRIORITY, reverses the generated order. * New linker options --warn-execstack-objects (warn only about execstack when input object files request it), and --error-execstack plus --error-rxw-segments to convert the existing warnings into errors. * objdump: Add -Z/--decompress to be used with -s/--full-contents to decompress section contents before displaying. * readelf: Add --extra-sym-info to be used with --symbols (currently prints section name of references section index). * objcopy: Add --set-section-flags for x86_64 to include SHF_X86_64_LARGE. * s390 disassembly: add target-specific disasm option 'insndesc', as in "objdump -M insndesc" to display an instruction description as comment along with the disassembly. - Add binutils-2.42-branch.diff.gz. - Rebased s390-biarch.diff. - Adjusted binutils-revert-hlasm-insns.diff, binutils-revert-plt32-in-branches.diff and binutils-revert-rela.diff for upstream changes. - Removed binutils-2.41-branch.diff.gz, binutils-2.41.tar.bz2, binutils-2.41-branch.diff.gz. - Removed binutils-use-less-memory.diff, binutils-old-makeinfo.diff and riscv-relro.patch (all upstreamed). - Removed add-ulp-section.diff, we use a different mechanism for live patching since a long time. ------------------------------------------------------------------- Thu Nov 9 16:51:13 UTC 2023 - Michael Matz - Add binutils-use-less-memory.diff to be a little nicer to 32bit userspace and huge links. [bsc#1216908] ------------------------------------------------------------------- Mon Sep 25 11:12:43 UTC 2023 - Andreas Schwab - riscv-relro.patch: RISC-V: Protect .got with relro ------------------------------------------------------------------- Thu Sep 14 12:27:48 UTC 2023 - Michael Matz - Add libzstd-devel to Requires of binutils-devel. (bsc#1215341) ------------------------------------------------------------------- Wed Aug 16 14:36:57 UTC 2023 - Michael Matz - Update to version 2.41 [PED-5778]: * The MIPS port now supports the Sony Interactive Entertainment Allegrex processor, used with the PlayStation Portable, which implements the MIPS II ISA along with a single-precision FPU and a few implementation-specific integer instructions. * Objdump's --private option can now be used on PE format files to display the fields in the file header and section headers. * New versioned release of libsframe: libsframe.so.1. This release introduces versioned symbols with version node name LIBSFRAME_1.0. This release also updates the ABI in an incompatible way: this includes removal of sframe_get_funcdesc_with_addr API, change in the behavior of sframe_fre_get_ra_offset and sframe_fre_get_fp_offset APIs. * SFrame Version 2 is now the default (and only) format version supported by gas, ld, readelf and objdump. * Add command-line option, --strip-section-headers, to objcopy and strip to remove ELF section header from ELF file. * The RISC-V port now supports the following new standard extensions: - Zicond (conditional zero instructions) - Zfa (additional floating-point instructions) - Zvbb, Zvbc, Zvkg, Zvkned, Zvknh[ab], Zvksed, Zvksh, Zvkn, Zvknc, Zvkng, Zvks, Zvksc, Zvkg, Zvkt (vector crypto instructions) * The RISC-V port now supports the following vendor-defined extensions: - XVentanaCondOps * Add support for Intel FRED, LKGS and AMX-COMPLEX instructions. * A new .insn directive is recognized by x86 gas. * Add SME2 support to the AArch64 port. * The linker now accepts a command line option of --remap-inputs = to relace any input file that matches with . In addition the option --remap-inputs-file= can be used to specify a file containing any number of these remapping directives. * The linker command line option --print-map-locals can be used to include local symbols in a linker map. (ELF targets only). * For most ELF based targets, if the --enable-linker-version option is used then the version of the linker will be inserted as a string into the .comment section. * The linker script syntax has a new command for output sections: ASCIZ "string" This will insert a zero-terminated string at the current location. * Add command-line option, -z nosectionheader, to omit ELF section header. - Removed obsolete patches: binutils-2.40-branch.diff.gz, riscv-dynamic-tls-reloc-pie.patch, riscv-pr22263-1.patch, extensa-gcc-4_3-fix.diff . - Add binutils-2.41-branch.diff.gz . - Add binutils-old-makeinfo.diff for SLE-12 and older. - Rebased aarch64-common-pagesize.patch and binutils-revert-rela.diff . - Contains fixes for these non-CVEs (not security bugs per upstreams SECURITY.md): * bsc#1209642 aka CVE-2023-1579 aka PR29988 * bsc#1210297 aka CVE-2023-1972 aka PR30285 * bsc#1210733 aka CVE-2023-2222 aka PR29936 * bsc#1213458 aka CVE-2021-32256 aka PR105039 (gcc) * bsc#1214565 aka CVE-2020-19726 aka PR26240 * bsc#1214567 aka CVE-2022-35206 aka PR29290 * bsc#1214579 aka CVE-2022-35205 aka PR29289 * bsc#1214580 aka CVE-2022-44840 aka PR29732 * bsc#1214604 aka CVE-2022-45703 aka PR29799 * bsc#1214611 aka CVE-2022-48065 aka PR29925 * bsc#1214619 aka CVE-2022-48064 aka PR29922 * bsc#1214620 aka CVE-2022-48063 aka PR29924 * bsc#1214623 aka CVE-2022-47696 aka PR29677 * bsc#1214624 aka CVE-2022-47695 aka PR29846 * bsc#1214625 aka CVE-2022-47673 aka PR29876 ------------------------------------------------------------------- Thu Jul 13 14:31:57 UTC 2023 - Michael Matz - Add binutils-disable-dt-relr.sh for an compatibility problem caused by binutils-revert-rela.diff in SLE codestreams. Needed for update of glibc as that would otherwise pick up the broken relative relocs support. [bsc#1213282, PED-1435] - This only existed only for a very short while in SLE-15, as the main variant in devel:gcc subsumed this in binutils-revert-rela.diff. Hence: - Remove binutils-disable-dt-relr.sh as subsumed. ------------------------------------------------------------------- Tue May 30 09:43:15 UTC 2023 - Andreas Schwab - riscv-dynamic-tls-reloc-pie.patch: Backport for PR ld/22263 and PR ld/25694 - riscv-pr22263-1.patch: Backport for PR ld/22263 ------------------------------------------------------------------- Wed Apr 12 14:56:56 UTC 2023 - Martin Liška - Rebase branch patch (includes fix for PR30281). ------------------------------------------------------------------- Tue Mar 21 16:33:06 UTC 2023 - Martin Liška - Document fixed CVEs: * bnc#1208037 aka CVE-2023-25588 aka PR29677 * bnc#1208038 aka CVE-2023-25587 aka PR29846 * bnc#1208040 aka CVE-2023-25585 aka PR29892 * bnc#1208409 aka CVE-2023-0687 aka PR29444 ------------------------------------------------------------------- Thu Mar 16 14:18:53 UTC 2023 - Richard Biener - Enable bpf-none cross target and add bpf-none to the multitarget set of supported targets. ------------------------------------------------------------------- Wed Mar 8 15:31:09 UTC 2023 - Michael Matz - Disable packed-relative-relocs for old codestreams. They generate buggy relocations when binutils-revert-rela.diff is active. [bsc#1206556] ------------------------------------------------------------------- Thu Feb 23 09:11:50 UTC 2023 - Martin Liška - Disable ZSTD debug section compress by default. ------------------------------------------------------------------- Tue Feb 21 15:32:02 UTC 2023 - Martin Liška - Enable zstd compression algorithm (instead of zlib) for debug info sections by default. ------------------------------------------------------------------- Mon Jan 30 09:18:59 UTC 2023 - Martin Liška - Pack libgprofng only for supported platforms. ------------------------------------------------------------------- Fri Jan 27 19:06:39 UTC 2023 - Martin Liška - Remove upstreamed patch binutils-maxpagesize.diff. ------------------------------------------------------------------- Fri Jan 27 09:56:13 UTC 2023 - Martin Liška - Rebase binutils-2.40-branch.diff.gz as it includes fix for PR30043. - Move libgprofng-related libraries to the proper locations (packages). - Add --without=bootstrap for skipping of bootstrap (faster testing of the package). ------------------------------------------------------------------- Tue Jan 24 12:52:49 UTC 2023 - Richard Biener - Remove broken arm32-avoid-copyreloc.patch to fix [gcc#108515] ------------------------------------------------------------------- Mon Jan 16 08:34:07 UTC 2023 - Martin Liška - 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} that selects the default compression algorithm for --enable-compressed-debug-sections. * Add support for various T-Head extensions (XTheadBa, XTheadBb, XTheadBs, XTheadCmo, XTheadCondMov, XTheadFMemIdx, XTheadFmv, XTheadInt, XTheadMemIdx, XTheadMemPair, XTheadMac, and XTheadSync) from version 2.0 of the T-Head ISA manual, which are implemented in the Allwinner D1. * Add support for the RISC-V Zawrs extension, version 1.0-rc4. * Add support for Cortex-X1C for Arm. * New command line option --gsframe to generate SFrame unwind information on x86_64 and aarch64 targets. * The linker has a new command line option to suppress the generation of any warning or error messages. This can be useful when there is a need to create a known non-working binary. The option is -w or --no-warnings. * ld now supports zstd compressed debug sections. The new option --compress-debug-sections=zstd compresses debug sections with zstd. * Add --enable-default-compressed-debug-sections-algorithm={zlib,zstd} that selects the default compression algorithm for --enable-compressed-debug-sections. * Remove support for -z bndplt (MPX prefix instructions). - Rebased patches: add-ulp-section.diff, ld-relro.diff, binutils-revert-plt32-in-branches.diff, cross-avr-size.patch. - Removed patch: binutils-pr29482.diff. - New patch: extensa-gcc-4_3-fix.diff. - Includes fixes for these CVEs: * bnc#1206080 aka CVE-2022-4285 aka PR29699 - Enable by default: --enable-colored-disassembly. ------------------------------------------------------------------- Sat Dec 10 10:00:56 UTC 2022 - Dirk Müller - fix build on x86_64_vX platforms ------------------------------------------------------------------- Tue Oct 25 14:52:30 UTC 2022 - Michael Matz - Add binutils-maxpagesize.diff for a problem on old code streams, where we would generate too large binaries. ------------------------------------------------------------------- Tue Oct 25 12:54:34 UTC 2022 - Andreas Schwab - s390-pic-dso.diff: use %pB instead of %B ------------------------------------------------------------------- Mon Oct 17 15:16:23 UTC 2022 - Michael Matz - SLE toolchain update of binutils. Update to 2.39 from 2.37, which means obsoleting and hence removing these patches: binutils-add-efi-aarch64-1.diff, binutils-add-efi-aarch64-2.diff, binutils-add-efi-aarch64-3.diff, binutils-fix-keepdebug.diff, binutils-add-z16-name.diff. Implements [jsc#SLE-25046, jsc#PED-2029, jsc#PED-2035, jsc#PED-2033, jsc#PED-2030, jsc#PED-2038, jsc#PED-2032, jsc#PED-2034, jsc#PED-2031, jsc#SLE-25047] - This fixes these CVEs relative to 2.37: [bsc#1188374, bsc#1185597] aka (GCC) PR99935 aka CVE-2021-3648 [bsc#1193929] aka PR28694 aka CVE-2021-45078 [bsc#1194783] aka (GCC) PR98886 aka CVE-2021-46195 [bsc#1197592] aka (GCC) PR105039 aka CVE-2022-27943 [bsc#1202966] aka PR29289 aka CVE-2022-38126 [bsc#1202967] aka PR29290 aka CVE-2022-38127 [bsc#1202969] aka CVE-2021-3826 ------------------------------------------------------------------- Fri Oct 14 15:22:38 UTC 2022 - Dirk Müller - add arm32-avoid-copyreloc.patch for PR16177 (bsc#1200962) ------------------------------------------------------------------- Fri Aug 26 13:24:35 UTC 2022 - Michael Matz - Add binutils-pr29482.diff for PR29482, aka CVE-2022-38533 [bsc#1202816] ------------------------------------------------------------------- Wed Aug 10 09:04:57 UTC 2022 - Martin Liška - Rebase binutils-2.39-branch.diff.gz that contains fix for PR29451. ------------------------------------------------------------------- Mon Aug 8 11:43:14 UTC 2022 - Martin Liška - Add binutils-2.39-branch.diff.gz. - Explicitly enable --enable-warn-execstack=yes and --enable-warn-rwx-segments=yes. - Add gprofng subpackage. ------------------------------------------------------------------- Sat Aug 6 08:41:08 UTC 2022 - Martin Liška - 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= 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 ------------------------------------------------------------------- Mon Jun 13 12:09:35 UTC 2022 - Michael Matz (Fake entry from SLE for tracking purposes:) - For building shim 15.6~rc1 (and later versions) aarch64 image, objcopy needs to support efi-app-aarch64 target. (bsc#1198458) Adds binutils-add-efi-aarch64-1.diff, binutils-add-efi-aarch64-2.diff, binutils-add-efi-aarch64-3.diff . ------------------------------------------------------------------- Wed May 25 10:23:35 UTC 2022 - Martin Liška - Use https for variosu links. ------------------------------------------------------------------- Wed May 25 08:56:09 UTC 2022 - Martin Liška - Update binutils-2.38-branch.diff.gz (to 93054037f1e304e) in order to include PR29087. ------------------------------------------------------------------- Mon May 9 10:18:29 UTC 2022 - Andreas Schwab - Enable multitarget build on riscv64 - On SLE15 and later, use make -Oline to synchronize configure output by lines ------------------------------------------------------------------- Fri May 6 14:17:19 UTC 2022 - Michael Matz (Fake entry from SLE for tracking purposes:) - Add binutils-fix-keepdebug.diff for fix bsc#1191908, a problem in crash not accepting some of our .ko.debug files. ------------------------------------------------------------------- Wed May 4 12:08:27 UTC 2022 - Martin Liška - Renumber Sources. ------------------------------------------------------------------- Wed May 4 10:22:26 UTC 2022 - Martin Liška - Fix ExcludeArch for ppc. ------------------------------------------------------------------- Wed May 4 07:10:59 UTC 2022 - Martin Liška - Make multibuild utilize only the main binutils.spec file. - Remove not needed README.First-for.SUSE.packagers, pre_checkin.sh. ------------------------------------------------------------------- Mon May 2 10:15:26 UTC 2022 - Martin Liška - Start using _multibuild for cross binutils. ------------------------------------------------------------------- Mon Apr 25 16:25:47 UTC 2022 - Michael Matz - Add binutils-revert-rela.diff to revert back to old behaviour of not ignoring the in-section content of to be relocated fields on x86-64, even though that's a RELA architecture. Compatibility with buggy object files generated by old tools. [bsc#1198422] (forward port from SLE) ------------------------------------------------------------------- Mon Apr 11 13:49:19 UTC 2022 - Michael Matz - Update binutils-2.38-branch.diff.gz (to c210342d7f5) to include recognition of 'z16' name for 'arch14' on s390. [bsc#1198237] ------------------------------------------------------------------- Mon Apr 11 13:43:11 UTC 2022 - Michael Matz (Fake entry from SLE for tracking purposes:) - Add binutils-add-z16-name.diff so that the now official name z16 for arch14 is recognized. [bsc#1198237] ------------------------------------------------------------------- Mon Mar 21 16:40:26 UTC 2022 - Marcus Meissner - 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. Adds binutils-znow.patch. ------------------------------------------------------------------- Thu Mar 10 21:22:20 UTC 2022 - Wolfgang Bauer - Update binutils-skip-rpaths.patch: add back fix for boo#1191473, which got lost in the update to 2.38. ------------------------------------------------------------------- Fri Mar 4 10:44:39 UTC 2022 - Martin Liška - Update binutils-2.38-branch.diff.gz in order to include PR28879. ------------------------------------------------------------------- Tue Mar 1 12:41:27 UTC 2022 - Michael Matz - From Stefan Brüns : * Install symlinks for all target specific tools on arm-eabi-none [bsc#1185712] ------------------------------------------------------------------- Thu Feb 24 09:10:44 UTC 2022 - Martin Liška - Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify that corresponding flex/bison files are not modified by a patch. ------------------------------------------------------------------- Thu Feb 24 06:55:14 UTC 2022 - Martin Liška - Use verbose mode for make for cross compilers. ------------------------------------------------------------------- Wed Feb 23 17:52:15 UTC 2022 - Michael Matz - Make it build on SLE-11 again. ------------------------------------------------------------------- Tue Feb 22 09:13:15 UTC 2022 - Martin Liška - Use verbose mode for make. ------------------------------------------------------------------- Sat Feb 12 19:13:31 UTC 2022 - Martin Liška - 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 option to "warn-sym-only" will make the assembler generate a warning whenever a symbol is defined containing multibyte characters. (References to undefined symbols will not generate warnings). * Outputs of .ds.x directive and .tfloat directive with hex input from x86 assembler have been reduced from 12 bytes to 10 bytes to match the output of .tfloat directive. * Add support for 'armv8.8-a', 'armv9-a', 'armv9.1-a', 'armv9.2-a' and 'armv9.3-a' for -march in AArch64 GAS. * Add support for 'armv8.7-a', 'armv8.8-a', 'armv9-a', 'armv9.1-a', 'armv9.2-a' and 'armv9.3-a' for -march in Arm GAS. * Add support for Intel AVX512_FP16 instructions. * Add -z pack-relative-relocs/-z no pack-relative-relocs to x86 ELF linker to pack relative relocations in the DT_RELR section. * Add support for the LoongArch architecture. * Add -z indirect-extern-access/-z noindirect-extern-access to x86 ELF linker to control canonical function pointers and copy relocation. * Add --max-cache-size=SIZE to set the the maximum cache size to SIZE bytes. - Add binutils-2.38-branch.diff.gz. - Removed deletion of man pages as they should be properly packages in tarball. - Rebased patches: aarch64-common-pagesize.patch, add-ulp-section.diff, binutils-bfd_h.patch, binutils-revert-nm-symversion.diff, binutils-revert-plt32-in-branches.diff, binutils-skip-rpaths.patch and binutils-compat-old-behaviour.diff. ------------------------------------------------------------------- Fri Feb 4 13:13:20 UTC 2022 - Matwey Kornilov - Enable PRU architecture for AM335x CPU (Beagle Bone Black board) ------------------------------------------------------------------- Thu Jan 27 20:36:30 UTC 2022 - Dirk Müller - use fdupes on datadir - remove RPM_BUILD_ROOT usage and other cleanups ------------------------------------------------------------------- Fri Nov 12 13:20:09 UTC 2021 - Martin Liška - Rebase binutils-2.37-branch.diff: fixes PR28494. ------------------------------------------------------------------- Fri Nov 5 16:54:36 UTC 2021 - Michael Matz - 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. [bsc#1192267] ------------------------------------------------------------------- Wed Nov 3 08:23:52 UTC 2021 - Martin Liška - Rebase binutils-2.37-branch.diff: fixes PR28523 aka boo#1188941. ------------------------------------------------------------------- Tue Nov 2 15:57:53 UTC 2021 - Michael Matz - Fix empty man-pages from broken release tarball [PR28144]. ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška - Update binutils-skip-rpaths.patch with contained a memory corruption (boo#1191473). ------------------------------------------------------------------- Fri Oct 8 14:11:44 UTC 2021 - Michael Matz - Configure with --disable-x86-used-note on old code streams. - Disable libalternatives temporarily for build cycle reasons. - make TARGET-bfd=headers again, we patch bfd-in.h - This state submitted to SLE12 and SLE15 code streams for annual toolchain update. [jsc#PM-2767, jsc#SLE-21561, jsc#SLE-19618] - Bump binutils-2.37-branch.diff to 66d5c7003, to include fixes for PR28422, PR28192, PR28391. Also adds some s390x arch14 instructions [jsc#SLE-18637]. ------------------------------------------------------------------- Fri Sep 10 23:16:12 CEST 2021 - Stefan Schubert schubi@suse.de - Using libalternatives instead of update-alternatives. ------------------------------------------------------------------- Wed Sep 8 15:09:58 UTC 2021 - Michael Matz - 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. ------------------------------------------------------------------- Tue Aug 3 13:36:19 UTC 2021 - Martin Liška - Bump binutils-2.37-branch.diff: fixes PR28138. ------------------------------------------------------------------- Thu Jul 22 17:36:14 UTC 2021 - Martin Liška - Use LTO & PGO build. ------------------------------------------------------------------- Thu Jul 22 15:01:27 UTC 2021 - Martin Liška - 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 sections. * Readelf and objdump will now follow links to separate debug info files by default. This behaviour can be stopped via the use of the new '-wN' or '--debug-dump=no-follow-links' options for readelf and the '-WN' or '--dwarf=no-follow-links' options for objdump. Also the old behaviour can be restored by the use of the '--enable-follow-debug-links=no' configure time option. The semantics of the =follow-links option have also been slightly changed. When enabled, the option allows for the loading of symbol tables and string tables from the separate files which can be used to enhance the information displayed when dumping other sections, but it does not automatically imply that information from the separate files should be displayed. If other debug section display options are also enabled (eg '--debug-dump=info') then the contents of matching sections in both the main file and the separate debuginfo file *will* be displayed. This is because in most cases the debug section will only be present in one of the files. If however non-debug section display options are enabled (eg '--sections') then the contents of matching parts of the separate debuginfo file will *not* be displayed. This is because in most cases the user probably only wanted to load the symbol information from the separate debuginfo file. In order to change this behaviour a new command line option --process-links can be used. This will allow di0pslay options to applied to both the main file and any separate debuginfo files. * Nm has a new command line option: '--quiet'. This suppresses "no symbols" diagnostic. - Includes fixes for these CVEs: bnc#1181452 aka CVE-2021-20197 aka PR26945 bnc#1183511 aka CVE-2021-20284 aka PR26931 bnc#1184519 aka CVE-2021-20294 aka PR26929 bnc#1184620 aka CVE-2021-3487 aka PR26946 bnc#1184794 aka CVE-2020-35448 aka PR26574 - Also fixes: bsc#1183909 - slow performance of stripping some binaries - Rebased patches: binutils-build-as-needed.diff, binutils-fix-abierrormsg.diff, binutils-fix-invalid-op-errata.diff, binutils-fix-relax.diff, binutils-revert-nm-symversion.diff, binutils-revert-plt32-in-branches.diff - Removed patches (are in upstream): ppc-ensure-undef-dynamic-weak-undefined.patch and ppc-use-local-plt.patch. - Add binutils-2.37-branch.diff.gz. ------------------------------------------------------------------- Fri May 7 15:34:22 UTC 2021 - Andreas Schwab - 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) ------------------------------------------------------------------- Fri Mar 26 10:06:58 UTC 2021 - Martin Liška - Update 2.36 branch diff which fixes PR27587. ------------------------------------------------------------------- Wed Mar 3 12:53:27 UTC 2021 - Martin Liška - Do not run make TARGET-bfd=headers separately. ------------------------------------------------------------------- Mon Mar 1 09:01:59 UTC 2021 - Martin Liška - Bump 2.36 branch diff (includes fix for PR27441 aka bsc#1182252). ------------------------------------------------------------------- Thu Feb 4 08:40:53 UTC 2021 - Martin Liška - Bump 2.36 branch diff. ------------------------------------------------------------------- Wed Feb 3 08:39:37 UTC 2021 - Martin Liška - 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. ------------------------------------------------------------------- Tue Feb 2 13:07:22 UTC 2021 - Martin Liška - Add temporary upstream fix for PR27311 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška - Update to binutils 2.36: New features in the Assembler: General: * When setting the link order attribute of ELF sections, it is now possible to use a numeric section index instead of symbol name. * Added a .nop directive to generate a single no-op instruction in a target neutral manner. This instruction does have an effect on DWARF line number generation, if that is active. * Removed --reduce-memory-overheads and --hash-size as gas now uses hash tables that can be expand and shrink automatically. X86/x86_64: * Add support for AVX VNNI, HRESET, UINTR, TDX, AMX and Key Locker instructions. * Support non-absolute segment values for lcall and ljmp. * Add {disp16} pseudo prefix to x86 assembler. * Configure with --enable-x86-used-note by default for Linux/x86. ARM/AArch64: * Add support for Cortex-A78, Cortex-A78AE and Cortex-X1, Cortex-R82, Neoverse V1, and Neoverse N2 cores. * Add support for ETMv4 (Embedded Trace Macrocell), ETE (Embedded Trace Extension), TRBE (Trace Buffer Extension), CSRE (Call Stack Recorder Extension) and BRBE (Branch Record Buffer Extension) system registers. * Add support for Armv8-R and Armv8.7-A ISA extensions. * Add support for DSB memory nXS barrier, WFET and WFIT instruction for Armv8.7. * Add support for +csre feature for -march. Add CSR PDEC instruction for CSRE feature in AArch64. * Add support for +flagm feature for -march in Armv8.4 AArch64. * Add support for +ls64 feature for -march in Armv8.7 AArch64. Add atomic 64-byte load/store instructions for this feature. * Add support for +pauth (Pointer Authentication) feature for -march in AArch64. New features in the Linker: * Add --error-handling-script= command line option to allow a helper script to be invoked when an undefined symbol or a missing library is encountered. This option can be suppressed via the configure time switch: --enable-error-handling-script=no. * Add -z x86-64-{baseline|v[234]} to the x86 ELF linker to mark x86-64-{baseline|v[234]} ISA level as needed. * Add -z unique-symbol to avoid duplicated local symbol names. * The creation of PE format DLLs now defaults to using a more secure set of DLL characteristics. * The linker now deduplicates the types in .ctf sections. The new command-line option --ctf-share-types describes how to do this: its default value, share-unconflicted, produces the most compact output. * The linker now omits the "variable section" from .ctf sections by default, saving space. This is almost certainly what you want unless you are working on a project that has its own analogue of symbol tables that are not reflected in the ELF symtabs. New features in other binary tools: * The ar tool's previously unused l modifier is now used for specifying dependencies of a static library. The arguments of this option (or --record-libdeps long form option) will be stored verbatim in the __.LIBDEP member of the archive, which the linker may read at link time. * Readelf can now display the contents of LTO symbol table sections when asked to do so via the --lto-syms command line option. * Readelf now accepts the -C command line option to enable the demangling of symbol names. In addition the --demangle=