Revisions of binutils

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1197005 from Michael Matz's avatar Michael Matz (matz2) (revision 173)
- Update to current 2.43.1 branch [PED-10474]:
  * PR32109 - fuzzing problem
  * PR32083 - LTO vs overridden common symbols
  * PR32067 - crash with LTO-plugin and --oformat=binary
  * PR31956 - LTO vs wrapper symbols
  * riscv - add Zimop and Zcmop extensions
- Adjusted binutils-2.43-branch.diff.gz.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1193447 from Michael Matz's avatar Michael Matz (matz2) (revision 172)
- Update to version 2.43: 
  * new .base64 pseudo-op, allowing base64 encoded data as strings
  * Intel APX: add support for CFCMOV, CCMP, CTEST, zero-upper, NF
    (APX_F now fully supported)
  * x86 Intel syntax now warns about more mnemonic suffixes
  * macros and .irp/.irpc/.rept bodies can use \+ to get at number
    of times the macro/body was executed
  * aarch64: support 'armv9.5-a' for -march, add support for LUT
    and LUT2
  * s390: base register operand in D(X,B) and D(L,B) can now be
    omitted (ala 'D(X,)'); warn when register type doesn't match
    operand type (use option
    'warn-regtype-mismatch=[strict|relaxed|no]' to adjust)
  * riscv: support various extensions: Zacas, Zcmp, Zfbfmin,
    Zvfbfmin, Zvfbfwma, Smcsrind/Sscsrind, XCvMem, XCvBi, XCvElw,
    XSfCease, all at version 1.0;
    remove support for assembly of privileged spec 1.9.1 (linking
    support remains)
  * arm: remove support for some old co-processors: Maverick and FPA
  * mips: '--trap' now causes either trap or breakpoint instructions
    to be emitted as per current ISA, instead of always using trap
    insn and failing when current ISA was incompatible with that
  * LoongArch: accept .option pseudo-op for fine-grained control
    of assembly code options; add support for DT_RELR
  * readelf: now displays RELR relocations in full detail;
    add -j/--display-section to show just those section(s) content
    according to their type
  * objdump/readelf now dump also .eh_frame_hdr (when present) when
    dumping .eh_frame
  * gprofng: add event types for AMD Zen3/Zen4 and Intel Ice Lake
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1183197 from Michael Matz's avatar Michael Matz (matz2) (revision 171)
- binutils-pr22868.diff: Remove obsolete patch
- Undefine _FORTIFY_SOURCE when running checks (forwarded request 1180350 from Andreas_Schwab)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1171312 from Richard Biener's avatar Richard Biener (rguenther) (revision 170)
Allow to disable profiling
there were some variations in .gcda files
that rarely could lead to variations in optimized finaly binaries (forwarded request 1171128 from bmwiedemann)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1148804 from Michael Matz's avatar Michael Matz (matz2) (revision 169)
- riscv-no-relax.patch: RISC-V: Don't generate branch/jump relocation if
  symbol is local when no-relax (forwarded request 1148803 from Andreas_Schwab)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1144349 from Michael Matz's avatar Michael Matz (matz2) (revision 168)
- Add binutils-disable-code-arch-error.diff to demote an
  error about swapped .arch/.code directives to a warning.
  It happens in the wild.

- 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
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1124735 from Michael Matz's avatar Michael Matz (matz2) (revision 167)
This should fix the last fail in Staging, the build of
libQt5WebEngine on i586.  *knockonwood*

- Add binutils-use-less-memory.diff to be a little nicer to 32bit
  userspace and huge links.  [bsc#1216908]

- riscv-relro.patch: RISC-V: Protect .got with relro

- Add libzstd-devel to Requires of binutils-devel. (bsc#1215341)

- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1089814 from Michael Matz's avatar Michael Matz (matz2) (revision 166)
- riscv-dynamic-tls-reloc-pie.patch: Backport for PR ld/22263 and PR
  ld/25694
- riscv-pr22263-1.patch: Backport for PR ld/22263 (forwarded request 1089774 from Andreas_Schwab)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1079086 from Martin Liška's avatar Martin Liška (marxin) (revision 165)
- Rebase branch patch (includes fix for PR30281).
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1073595 from Martin Liška's avatar Martin Liška (marxin) (revision 164)
- 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

- Enable bpf-none cross target and add bpf-none to the multitarget
  set of supported targets.

- Disable packed-relative-relocs for old codestreams.  They generate
  buggy relocations when binutils-revert-rela.diff is active.
  [bsc#1206556]
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1060656 from Richard Biener's avatar Richard Biener (rguenther) (revision 161)
- Remove broken arm32-avoid-copyreloc.patch to fix [gcc#108515]
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1060010 from Michael Matz's avatar Michael Matz (matz2) (revision 160)
- fix build on x86_64_vX platforms 

- add arm32-avoid-copyreloc.patch for PR16177 (bsc#1200962) (forwarded request 1060005 from dirkmueller)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 994281 from Martin Liška's avatar Martin Liška (marxin) (revision 159)
- Rebase binutils-2.39-branch.diff.gz that contains fix for PR29451.

- Add binutils-2.39-branch.diff.gz.
- Explicitly enable --enable-warn-execstack=yes and	--enable-warn-rwx-segments=yes.
- Add gprofng subpackage.

- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 979157 from Martin Liška's avatar Martin Liška (marxin) (revision 158)
- Use https for variosu links.

- Update binutils-2.38-branch.diff.gz (to 93054037f1e304e)
  in order to include PR29087.

- Enable multitarget build on riscv64
- On SLE15 and later, use make -Oline to synchronize configure output by
  lines
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 974908 from Martin Liška's avatar Martin Liška (marxin) (revision 157)
- Renumber Sources.

- Fix ExcludeArch for ppc.

- Make multibuild utilize only the main binutils.spec file.
- Remove not needed README.First-for.SUSE.packagers, pre_checkin.sh.

- Start using _multibuild for cross binutils.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 969239 from Michael Matz's avatar Michael Matz (matz2) (revision 156)
- Update binutils-2.38-branch.diff.gz (to c210342d7f5) to include
  recognition of 'z16' name for 'arch14' on s390.  [bsc#1198237]
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 964006 from Michael Matz's avatar Michael Matz (matz2) (revision 155)
- 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.
Displaying revisions 1 - 20 of 173
openSUSE Build Service is sponsored by