commit binutils for openSUSE:Factory

2024-02-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2024-02-23 16:40:10

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.1770 (New)


Package is "binutils"

Fri Feb 23 16:40:10 2024 rev:169 rq:1148804 version:2.42

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2024-02-18 
20:20:44.192742596 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.1770/binutils.changes  
2024-02-23 16:40:11.420159679 +0100
@@ -1,0 +2,6 @@
+Wed Feb 21 09:56:08 UTC 2024 - Andreas Schwab 
+
+- riscv-no-relax.patch: RISC-V: Don't generate branch/jump relocation if
+  symbol is local when no-relax
+
+---

New:

  riscv-no-relax.patch

BETA DEBUG BEGIN:
  New:
- riscv-no-relax.patch: RISC-V: Don't generate branch/jump relocation if
  symbol is local when no-relax
BETA DEBUG END:



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.RwP01R/_old  2024-02-23 16:40:12.544200426 +0100
+++ /var/tmp/diff_new_pack.RwP01R/_new  2024-02-23 16:40:12.544200426 +0100
@@ -154,6 +154,7 @@
 Patch43:binutils-revert-hlasm-insns.diff
 Patch44:binutils-revert-rela.diff
 Patch60:binutils-disable-code-arch-error.diff
+Patch61:riscv-no-relax.patch
 Patch90:cross-avr-nesc-as.patch
 Patch92:cross-avr-omit_section_dynsym.patch
 Patch93:cross-avr-size.patch
@@ -280,6 +281,7 @@
 %patch44 -p1
 %endif
 %patch60 -p1
+%patch61 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
 %patch90



++ riscv-no-relax.patch ++
>From af514e5f6d1d0233a251a3ae17f7cb8d9ba8e36b Mon Sep 17 00:00:00 2001
From: Nelson Chu 
Date: Mon, 29 Jan 2024 21:17:41 +0800
Subject: [PATCH] RISC-V: Don't generate branch/jump relocation if symbol is
 local when no-relax.

Refer to commit, dff565fcca8137954d6ad571ef39f6aec5c0429c.  Theoretically,
assembler don't need to generate the pc-relative relocation and the refered
local .L symbol when relaxation is disabled.  The above commit improved the
pcrel_hi/pcrel_lo relocations, and this commit improves branch and jump
relocations.

Passed the gcc/binutils regressions of riscv-gnu-toolchain.

gas/
* config/tc-riscv.c (md_apply_fix): Raise fixP->fx_done for all
branch and jump relocations when -mno-relax.
---
 gas/config/tc-riscv.c | 8 
 1 file changed, 8 insertions(+)

diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
index a4161420128..cbead954f09 100644
--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -4390,6 +4390,8 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg 
ATTRIBUTE_UNUSED)
  bfd_vma target = S_GET_VALUE (fixP->fx_addsy) + *valP;
  bfd_vma delta = target - md_pcrel_from (fixP);
  bfd_putl32 (bfd_getl32 (buf) | ENCODE_JTYPE_IMM (delta), buf);
+ if (!riscv_opts.relax && S_IS_LOCAL (fixP->fx_addsy))
+   fixP->fx_done = 1;
}
   break;
 
@@ -4400,6 +4402,8 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg 
ATTRIBUTE_UNUSED)
  bfd_vma target = S_GET_VALUE (fixP->fx_addsy) + *valP;
  bfd_vma delta = target - md_pcrel_from (fixP);
  bfd_putl32 (bfd_getl32 (buf) | ENCODE_BTYPE_IMM (delta), buf);
+ if (!riscv_opts.relax && S_IS_LOCAL (fixP->fx_addsy))
+   fixP->fx_done = 1;
}
   break;
 
@@ -4410,6 +4414,8 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg 
ATTRIBUTE_UNUSED)
  bfd_vma target = S_GET_VALUE (fixP->fx_addsy) + *valP;
  bfd_vma delta = target - md_pcrel_from (fixP);
  bfd_putl16 (bfd_getl16 (buf) | ENCODE_CBTYPE_IMM (delta), buf);
+ if (!riscv_opts.relax && S_IS_LOCAL (fixP->fx_addsy))
+   fixP->fx_done = 1;
}
   break;
 
@@ -4420,6 +4426,8 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg 
ATTRIBUTE_UNUSED)
  bfd_vma target = S_GET_VALUE (fixP->fx_addsy) + *valP;
  bfd_vma delta = target - md_pcrel_from (fixP);
  bfd_putl16 (bfd_getl16 (buf) | ENCODE_CJTYPE_IMM (delta), buf);
+ if (!riscv_opts.relax && S_IS_LOCAL (fixP->fx_addsy))
+   fixP->fx_done = 1;
}
   break;
 
-- 
2.43.2


commit binutils for openSUSE:Factory

2024-02-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2024-02-18 20:20:43

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.1815 (New)


Package is "binutils"

Sun Feb 18 20:20:43 2024 rev:168 rq:1144349 version:2.42

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2023-11-10 
12:28:47.602474633 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.1815/binutils.changes  
2024-02-18 20:20:44.192742596 +0100
@@ -1,0 +2,52 @@
+Mon Feb  5 16:57:05 UTC 2024 - Michael Matz 
+
+- Add binutils-disable-code-arch-error.diff to demote an
+  error about swapped .arch/.code directives to a warning.
+  It happens in the wild.
+
+---
+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.
+
+---

Old:

  add-ulp-section.diff
  binutils-2.41-branch.diff.gz
  binutils-2.41.tar.bz2
  binutils-2.41.tar.bz2.sig
  binutils-old-makeinfo.diff
  binutils-use-less-memory.diff
  riscv-relro.patch

New:

  binutils-2.42-branch.diff.gz
  binutils-2.42.tar.bz2
  binutils-2.42.tar.bz2.sig
  binutils-disable-code-arch-error.diff

BETA DEBUG BEGIN:
  Old:  and riscv-relro.patch (all upstreamed).
- Removed add-ulp-section.diff, we use a different mechanism
  for live patching since a long time.
  Old:  binutils-2.41-branch.diff.gz.
- Removed binutils-use-less-memory.diff, binutils-old-makeinfo.diff
  and riscv-relro.patch (all upstreamed).
  Old:  binutils-2.41-branch.diff.gz.
- Removed binutils-use-less-memory.diff, binutils-old-makeinfo.diff
  and riscv-relro.patch (all upstreamed).
  Old:- 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
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:
- Add binutils-disable-code-arch-error.diff to demote an
  error about swapped .arch/.code directives to a warning.
BETA DEBUG END:



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.BqFVdM/_old  2024-02-18 20:20:45.628794419 +0100
+++ /var/tmp/diff_new_pack.BqFVdM/_new  2024-02-18 20:20:45.632794564 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package binutils
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by 

commit binutils for openSUSE:Factory

2023-11-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2023-11-10 12:28:45

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.17445 (New)


Package is "binutils"

Fri Nov 10 12:28:45 2023 rev:167 rq:1124735 version:2.41

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2023-06-03 
00:05:10.605263741 +0200
+++ /work/SRC/openSUSE:Factory/.binutils.new.17445/binutils.changes 
2023-11-10 12:28:47.602474633 +0100
@@ -1,0 +2,94 @@
+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- 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-disa

commit binutils for openSUSE:Factory

2023-06-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2023-06-03 00:05:05

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.15902 (New)


Package is "binutils"

Sat Jun  3 00:05:05 2023 rev:166 rq:1089814 version:2.40

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2023-04-14 
13:12:40.531425713 +0200
+++ /work/SRC/openSUSE:Factory/.binutils.new.15902/binutils.changes 
2023-06-03 00:05:10.605263741 +0200
@@ -1,0 +2,7 @@
+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
+
+---

New:

  riscv-dynamic-tls-reloc-pie.patch
  riscv-pr22263-1.patch



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.O1yQWe/_old  2023-06-03 00:05:13.381280132 +0200
+++ /var/tmp/diff_new_pack.O1yQWe/_new  2023-06-03 00:05:13.389280180 +0200
@@ -154,6 +154,8 @@
 Patch43:binutils-revert-hlasm-insns.diff
 Patch44:binutils-revert-rela.diff
 Patch45:extensa-gcc-4_3-fix.diff
+Patch46:riscv-dynamic-tls-reloc-pie.patch
+Patch47:riscv-pr22263-1.patch
 Patch100:   add-ulp-section.diff
 Patch90:cross-avr-nesc-as.patch
 Patch92:cross-avr-omit_section_dynsym.patch
@@ -278,6 +280,8 @@
 %patch44 -p1
 %patch45 -p1
 %endif
+%patch46 -p1
+%patch47 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h



++ riscv-dynamic-tls-reloc-pie.patch ++
>From f491758f183592cbf8113e02a2bebbd412ff7358 Mon Sep 17 00:00:00 2001
From: Nelson Chu 
Date: Thu, 4 May 2023 17:08:50 +0800
Subject: [PATCH] [PR ld/22263][PR ld/25694] RISC-V: Avoid dynamic TLS relocs
 in PIE.

Lots of targets already fixed the TEXTREL problem for TLS in PIE.

* For PR ld/25694,
In the check_reloc, refer to spare and loongarch, they don't need to reserve
any local dynamic reloc for TLS LE in pie/pde, and similar to other targets.
So it seems like riscv was too conservative to estimate the TLS LE before.
Just break and don't goto static_reloc for TLS LE in pie/pde can fix the
TEXTREL problem.

* For PR ld/22263,
The risc-v code for TLS GD/IE in the relocate_section seems same as MIPS port.
So similar to MIPS, pr22570, commits 9143e72c6d4d and 1cb83cac9a89, it seems
also the right way to do the same thing for risc-v.

On risc-v, fixes
FAIL: Build pr22263-1

RISC-V haven't supported the TLS transitions, so will need the same fix (use
bfd_link_dll) in the future.

bfd/
PR ld/22263
PR ld/25694
* elfnn-riscv.c (riscv_elf_check_relocs): Replace bfd_link_pic with
bfd_link_dll for TLS IE.  Don't need to reserve the local dynamic
relocation for TLS LE in pie/pde, and report error in pic just like
before.
(riscv_elf_relocate_section): For TLS GD/IE, use bfd_link_dll rather
than !bfd_link_pic in determining the dynamic symbol index.  Avoid
the index of -1.
---
 bfd/elfnn-riscv.c | 25 +++--
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/bfd/elfnn-riscv.c b/bfd/elfnn-riscv.c
index 4a5da7df3fe..ee2d19f7699 100644
--- a/bfd/elfnn-riscv.c
+++ b/bfd/elfnn-riscv.c
@@ -732,7 +732,7 @@ riscv_elf_check_relocs (bfd *abfd, struct bfd_link_info 
*info,
  break;
 
case R_RISCV_TLS_GOT_HI20:
- if (bfd_link_pic (info))
+ if (bfd_link_dll (info))
info->flags |= DF_STATIC_TLS;
  if (!riscv_elf_record_got_reference (abfd, info, h, r_symndx)
  || !riscv_elf_record_tls_type (abfd, h, r_symndx, GOT_TLS_IE))
@@ -787,11 +787,12 @@ riscv_elf_check_relocs (bfd *abfd, struct bfd_link_info 
*info,
  goto static_reloc;
 
case R_RISCV_TPREL_HI20:
+ /* This is not allowed in the pic, but okay in pie.  */
  if (!bfd_link_executable (info))
return bad_static_reloc (abfd, r_type, h);
  if (h != NULL)
riscv_elf_record_tls_type (abfd, h, r_symndx, GOT_TLS_LE);
- goto static_reloc;
+ break;
 
case R_RISCV_HI20:
  if (bfd_link_pic (info))
@@ -2689,24 +2690,20 @@ riscv_elf_relocate_section (bfd *output_bfd,
  if (htab->elf.srelgot == NULL)
abort ();
 
- if (h != NULL)
-   {
- bool dyn, pic;
- dyn = htab->elf.dynamic_sections_created;
- pic = bfd_link_pic (info);
-
- if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (dyn, pic, h)
- 

commit binutils for openSUSE:Factory

2023-04-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2023-04-14 13:12:35

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.19717 (New)


Package is "binutils"

Fri Apr 14 13:12:35 2023 rev:165 rq:1079086 version:2.40

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2023-03-25 
18:53:58.674231587 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.19717/binutils.changes 
2023-04-14 13:12:40.531425713 +0200
@@ -1,0 +2,5 @@
+Wed Apr 12 14:56:56 UTC 2023 - Martin Liška 
+
+- Rebase branch patch (includes fix for PR30281).
+
+---



Other differences:
--
++ binutils-2.40-branch.diff.gz ++
 18535 lines (skipped)
 between /work/SRC/openSUSE:Factory/binutils/binutils-2.40-branch.diff.gz
 and 
/work/SRC/openSUSE:Factory/.binutils.new.19717/binutils-2.40-branch.diff.gz


commit binutils for openSUSE:Factory

2023-03-25 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2023-03-25 18:53:55

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.31432 (New)


Package is "binutils"

Sat Mar 25 18:53:55 2023 rev:164 rq:1073595 version:2.40

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2023-03-02 
23:01:48.794705326 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.31432/binutils.changes 
2023-03-25 18:53:58.674231587 +0100
@@ -1,0 +2,22 @@
+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]
+
+---



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.bsnH9d/_old  2023-03-25 18:53:59.566236250 +0100
+++ /var/tmp/diff_new_pack.bsnH9d/_new  2023-03-25 18:53:59.574236292 +0100
@@ -304,7 +304,7 @@
 echo "Building native binutils."
 %if %build_multitarget
 EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
-EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf,x86_64-pep"
+EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf,x86_64-pep,bpf-none"
 %else
 EXTRA_TARGETS=
 %ifarch sparc
@@ -444,10 +444,14 @@
 %if "%{TARGET}" == "arm"
 %define TARGET_OS %{TARGET}-suse-linux-gnueabi
 %else
+%if "%{TARGET}" == "bpf"
+%define TARGET_OS %{TARGET}-none
+%else
 %define TARGET_OS %{TARGET}-suse-linux
 %endif
 %endif
 %endif
+%endif
 ../configure CFLAGS="${RPM_OPT_FLAGS}" \
   --prefix=%{_prefix} \
   --with-bugurl=https://bugs.opensuse.org/ \

++ _multibuild ++
--- /var/tmp/diff_new_pack.bsnH9d/_old  2023-03-25 18:53:59.630236585 +0100
+++ /var/tmp/diff_new_pack.bsnH9d/_new  2023-03-25 18:53:59.634236605 +0100
@@ -22,5 +22,6 @@
   rx
   riscv64
   xtensa
+  bpf
 
 


++ binutils-revert-rela.diff ++
--- /var/tmp/diff_new_pack.bsnH9d/_old  2023-03-25 18:53:59.698236940 +0100
+++ /var/tmp/diff_new_pack.bsnH9d/_new  2023-03-25 18:53:59.702236961 +0100
@@ -11,12 +11,26 @@
 behaviour.  We revert the change for all relocs and not just those for
 which it arguably made some sense or where we had a report about (PLT32).
 
+On x86-64 this reversion interacts with the linker support for DT_RELR,
+i.e. packed relative relocs.  To calculate the info for that the linker
+goes through the input relocation multiple times and the obvious result
+with the above reversion happens: the addends are added multiple times
+resulting in those packed relative relocs to all have an addend twice
+as large as wanted.  As old codestreams don't have the necessary support
+for DT_RELR anyway (in the dynamic linker) we disable it whole-sale as
+well.  Only x86-64 and ppc64(le) have packed relative relocs
+and while ppc64le DT_RELR support would work there's still the problem
+of missing support in ld.so.
 
-Index: binutils-2.39/bfd/elf64-x86-64.c
+(This also disables the few explicit dt-relr tests that don't use the
+proper predicate to guard themself)
+
+
+Index: binutils-2.40/bfd/elf64-x86-64.c
 ===
 binutils-2.39.orig/bfd/elf64-x86-64.c  2022-10-17 16:20:55.074224642 
+0200
-+++ binutils-2.39/bfd/elf64-x86-64.c   2022-10-17 16:31:36.128864508 +0200
-@@ -47,127 +47,127 @@ static reloc_howto_type x86_64_elf_howto
+--- binutils-2.40.orig/bfd/elf64-x86-64.c  2023-03-08 16:21:20.818669606 
+0100
 binutils-2.40/bfd/elf64-x86-64.c   2023-03-08 16:22:22.915673946 +0100
+@@ -48,127 +48,127 @@ static reloc_howto_type x86_64_elf_howto
bfd_elf_generic_reloc, "R_X86_64_NONE", false, 0, 0x,
false),
HOWTO(R_X86_64_64, 0, 8, 64, false, 0, complain_overflow_dont,
@@ -185,7 +199,7 @@
true),
  
/* We have a gap in the reloc numbers here.
-@@ -188,7 +188,7 @@ static reloc_howto_type x86_64_elf_howto
+@@ -189,7 +189,7 @@ static reloc_howto_type x86_64_elf_howto
  
  /* Use complain_overflow_bitfield on R_X86_64_32 for x32.  */
HOWTO(R_X86_64_

commit binutils for openSUSE:Factory

2023-03-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2023-03-02 23:01:45

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.31432 (New)


Package is "binutils"

Thu Mar  2 23:01:45 2023 rev:163 rq:1067336 version:2.40

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2023-02-21 
15:35:27.604086325 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.31432/binutils.changes 
2023-03-02 23:01:48.794705326 +0100
@@ -1,0 +2,11 @@
+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.
+
+---



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.LBpLLP/_old  2023-03-02 23:01:50.166711540 +0100
+++ /var/tmp/diff_new_pack.LBpLLP/_new  2023-03-02 23:01:50.174711577 +0100
@@ -61,6 +61,9 @@
 %else
 BuildRequires:  zlib-devel
 %endif
+%if %{suse_version} > 1500
+BuildRequires:  libzstd-devel
+%endif
 Version:2.40
 Release:0
 
@@ -385,6 +388,11 @@
--enable-warn-execstack=yes \
--enable-warn-rwx-segments=yes
 
+#FIXME: enable in the future
+#%if %{suse_version} > 1550
+#  --enable-default-compressed-debug-sections-algorithm=zstd \
+#%endif
+
 # we patch headers (bfd-in.h) that are input to other headers
 # which are generated only with --enable-maintainer-mode (which we
 # don't do) or explicitely by make headers, so do this:


commit binutils for openSUSE:Factory

2023-02-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2023-02-21 15:35:25

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.22824 (New)


Package is "binutils"

Tue Feb 21 15:35:25 2023 rev:162 rq:1062048 version:2.40

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2023-01-27 
10:26:04.538663393 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.22824/binutils.changes 
2023-02-21 15:35:27.604086325 +0100
@@ -1,0 +2,18 @@
+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).
+
+---
@@ -4,0 +23,60 @@
+
+---
+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.

Old:

  binutils-2.39-branch.diff.gz
  binutils-2.39.tar.bz2
  binutils-2.39.tar.bz2.sig
  binutils-maxpagesize.diff
  binutils-pr29482

commit binutils for openSUSE:Factory

2023-01-27 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2023-01-27 10:15:03

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.32243 (New)


Package is "binutils"

Fri Jan 27 10:15:03 2023 rev:161 rq:1060656 version:2.39

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2023-01-23 
18:30:21.431467134 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.32243/binutils.changes 
2023-01-27 10:26:04.538663393 +0100
@@ -1,0 +2,5 @@
+Tue Jan 24 12:52:49 UTC 2023 - Richard Biener 
+
+- Remove broken arm32-avoid-copyreloc.patch to fix [gcc#108515]
+
+---

Old:

  arm32-avoid-copyreloc.patch



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.0ZaiUH/_old  2023-01-27 10:26:05.454668145 +0100
+++ /var/tmp/diff_new_pack.0ZaiUH/_new  2023-01-27 10:26:05.462668187 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package binutils
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -125,7 +125,6 @@
 Patch8: ld-relro.diff
 Patch9: testsuite.diff
 Patch10:enable-targets-gold.diff
-Patch11:arm32-avoid-copyreloc.patch
 Patch12:s390-pic-dso.diff
 Patch14:binutils-build-as-needed.diff
 Patch15:binutils-znow.patch
@@ -247,7 +246,6 @@
 %patch8
 %patch9
 %patch10
-%patch11 -p1
 %patch12
 %patch14
 %patch15


commit binutils for openSUSE:Factory

2023-01-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2023-01-23 18:30:20

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.32243 (New)


Package is "binutils"

Mon Jan 23 18:30:20 2023 rev:160 rq:1060010 version:2.39

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2022-08-13 
22:36:32.986626973 +0200
+++ /work/SRC/openSUSE:Factory/.binutils.new.32243/binutils.changes 
2023-01-23 18:30:21.431467134 +0100
@@ -1,0 +2,47 @@
+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]
+
+---
@@ -47,0 +95,9 @@
+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 .
+
+---
@@ -65,0 +122,7 @@
+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.
+
+---
@@ -86,0 +150,10 @@
+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)
+
+---
@@ -90,0 +164,7 @@
+
+---
+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]

New:

  arm32-avoid-copyreloc.patch
  binutils-maxpagesize.diff
  binutils-pr29482.diff
  binutils-revert-rela.diff



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.5LcVqY/_old  2023-01-23 18:30:23.735481355 +0100
+++ /var/tmp/diff_new_pack.5LcVqY/_new  2023-01-23 18:30:23.739481380 +0100
@@ -94,7 +94,7 @@
 %definemake_check_handling false
 %endif
 # handle all binary object formats supported by SUSE (and a few more)
-%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 ppc64le riscv64 s390 s390x x86_64
+%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 ppc64le riscv64 s390 s390x x86_64 
%x86_64
 %define build_multitarget 1
 %else
 %define build_multitarget 0
@@ -125,6 +125,7 @@
 Patch8: ld-relro.diff
 Patch9: testsuite.diff
 Patch10:   

commit binutils for openSUSE:Factory

2022-08-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2022-08-13 22:36:31

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.1521 (New)


Package is "binutils"

Sat Aug 13 22:36:31 2022 rev:159 rq:994281 version:2.39

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2022-05-28 
00:28:05.689652160 +0200
+++ /work/SRC/openSUSE:Factory/.binutils.new.1521/binutils.changes  
2022-08-13 22:36:32.986626973 +0200
@@ -1,0 +2,46 @@
+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
+
+---

Old:

  binutils-2.38-branch.diff.gz
  binutils-2.38.tar.bz2
  binutils-2.38.tar.bz2.sig

New:

  binutils-2.39-branch.diff.gz
  binutils-2.39.tar.bz2
  binutils-2.39.tar.bz2.sig



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.QBo6vm/_old  2022-08-13 22:36:34.718631352 +0200
+++ /var/tmp/diff_new_pack.QBo6vm/_new  2022-08-13 22:36:34.722631362 +0200
@@ -61,7 +61,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:2.38
+Version:2.39
 Release:0
 
 # disable libalternatives for now until it's changed to not
@@ -117,7 +117,7 @@
 Source2:binutils-%{version}.tar.bz2.sig
 Source3:binutils.keyring
 Source4:baselibs.conf
-Patch1: binutils-2.38-branch.diff.gz
+Patch1: binutils-2.39-branch.diff.gz
 Patch3: binutils-skip-rpaths.patch
 Patch4: s390-biarch.diff
 Patch5: x86-64-biarch.patch
@@ -204,6 +204,14 @@
 This package includes the libctf-nobfd shared library.
 The Compact C Type Format (CTF) is a way of representing information about a 
binary program
 
+%package -n gprofng
+Summary:The next generation profiling tool for Linux
+License:GFDL-1.3-only AND GPL-3.0-or-later
+Group:  Development/Tools/Building
+
+%description -n gprofng
+The next generation profiling tool for Linux
+
 %ifarch %arm
 %define HOST %{_target_cpu}-suse-linux-gnueabi
 %else
@@ -313,6 +321,10 @@
 # rebuilding the same archive from unchanged .o files recreates
 # it, because timestamps in the .a are 0, unequal to the actual timestamp
 # of the .o files :-/
+#
+# Enable the following 2 configure options explicitly
+# (--enable-warn-execstack=yes, --enable-warn-rwx-segments=yes)
+# as they are not enabled by default for some targets (and we use 
--enable-targets=[many]).
 %define common_flags CFLAGS="${RPM_

commit binutils for openSUSE:Factory

2022-05-27 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2022-05-28 00:28:03

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.2254 (New)


Package is "binutils"

Sat May 28 00:28:03 2022 rev:158 rq:979157 version:2.38

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2022-05-06 
18:58:06.001275266 +0200
+++ /work/SRC/openSUSE:Factory/.binutils.new.2254/binutils.changes  
2022-05-28 00:28:05.689652160 +0200
@@ -1,0 +2,18 @@
+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
+
+---



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.zLPJqp/_old  2022-05-28 00:28:06.961653867 +0200
+++ /var/tmp/diff_new_pack.zLPJqp/_new  2022-05-28 00:28:06.965653872 +0200
@@ -94,7 +94,7 @@
 %definemake_check_handling false
 %endif
 # handle all binary object formats supported by SUSE (and a few more)
-%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 ppc64le s390 s390x x86_64
+%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 ppc64le riscv64 s390 s390x x86_64
 %define build_multitarget 1
 %else
 %define build_multitarget 0
@@ -103,7 +103,7 @@
 #
 #
 #
-URL:http://www.gnu.org/software/binutils/
+URL:https://www.gnu.org/software/binutils/
 PreReq: %{install_info_prereq}
 # bug437293
 %ifarch ppc64
@@ -211,6 +211,11 @@
 %endif
 %define DIST %(echo '%distribution' | sed 's/ (.*)//')
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 echo "make check will return with %{make_check_handling} in case of testsuite 
failures."
 %setup -q -n binutils-%{version}
@@ -311,7 +316,7 @@
 %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
-   --with-bugurl=http://bugs.opensuse.org/ \\\
+   --with-bugurl=https://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --with-system-zlib --build=%{HOST}
@@ -348,14 +353,14 @@
 # we patch headers (bfd-in.h) that are input to other headers
 # which are generated only with --enable-maintainer-mode (which we
 # don't do) or explicitely by make headers, so do this:
-make %{?_smp_mflags} all-bfd TARGET-bfd=headers V=1
+make %{?make_output_sync} %{?_smp_mflags} all-bfd TARGET-bfd=headers V=1
 # the above interacts with --enable-pgo-build=lto because all-bfd doesn't
 # have the PGO handling, hence it's config.cache files are wrong
 # remove all of those for reconfigure
 rm */config.cache
 # force reconfiguring
 rm bfd/Makefile
-make %{?_smp_mflags} V=1
+make %{?make_output_sync} %{?_smp_mflags} V=1
 
 %else
 # building cross-TARGET-binutils
@@ -402,7 +407,7 @@
 %endif
 ../configure CFLAGS="${RPM_OPT_FLAGS}" \
   --prefix=%{_prefix} \
-  --with-bugurl=http://bugs.opensuse.org/ \
+  --with-bugurl=https://bugs.opensuse.org/ \
   --with-pkgversion="GNU Binutils; %{DIST}" \
   --with-system-zlib \
   --disable-nls \
@@ -421,17 +426,17 @@
   --enable-default-hash-style=both \
 %endif
   ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
-make %{?_smp_mflags} all-bfd TARGET-bfd=headers V=1
+make %{?make_output_sync} %{?_smp_mflags} all-bfd TARGET-bfd=headers V=1
 rm */config.cache
 # force reconfiguring
 rm bfd/Makefile
-make %{?_smp_mflags} V=1
+make %{?make_output_sync} %{?_smp_mflags} V=1
 %if "%{TARGET}" == "avr"
 # build an extra nesC version because nesC requires $'s in identifiers
 cp -a gas gas-nesc
 echo '#include "tc-%{TARGET}-nesc.h"' > gas-nesc/targ-cpu.h
 make -C gas-nesc clean
-make -C gas-nesc %{?_smp_mflags}
+make -C gas-nesc %{?make_output_sync} %{?_smp_mflags}
 %endif
 %endif
 

++ binutils-2.38-branch.diff.gz ++
 779 lines (skipped)
 between /work/SRC/openSUSE:Factory/binutils/binutils-2.38-branch.diff.gz
 and 
/work/SRC/openSUSE:Factory/.binutils.new.2254/binutils-2.38-branch.diff.gz


commit binutils for openSUSE:Factory

2022-05-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2022-05-06 18:58:04

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.1538 (New)


Package is "binutils"

Fri May  6 18:58:04 2022 rev:157 rq:974908 version:2.38

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2022-04-14 
17:22:54.203083717 +0200
+++ /work/SRC/openSUSE:Factory/.binutils.new.1538/binutils.changes  
2022-05-06 18:58:06.001275266 +0200
@@ -1,0 +2,21 @@
+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.
+
+---

Old:

  README.First-for.SUSE.packagers
  cross-aarch64-binutils.changes
  cross-aarch64-binutils.spec
  cross-arm-binutils.changes
  cross-arm-binutils.spec
  cross-avr-binutils.changes
  cross-avr-binutils.spec
  cross-epiphany-binutils.changes
  cross-epiphany-binutils.spec
  cross-hppa-binutils.changes
  cross-hppa-binutils.spec
  cross-hppa64-binutils.changes
  cross-hppa64-binutils.spec
  cross-i386-binutils.changes
  cross-i386-binutils.spec
  cross-ia64-binutils.changes
  cross-ia64-binutils.spec
  cross-m68k-binutils.changes
  cross-m68k-binutils.spec
  cross-mips-binutils.changes
  cross-mips-binutils.spec
  cross-ppc-binutils.changes
  cross-ppc-binutils.spec
  cross-ppc64-binutils.changes
  cross-ppc64-binutils.spec
  cross-ppc64le-binutils.changes
  cross-ppc64le-binutils.spec
  cross-pru-binutils.changes
  cross-pru-binutils.spec
  cross-riscv64-binutils.changes
  cross-riscv64-binutils.spec
  cross-rx-binutils.changes
  cross-rx-binutils.spec
  cross-s390-binutils.changes
  cross-s390-binutils.spec
  cross-s390x-binutils.changes
  cross-s390x-binutils.spec
  cross-sparc-binutils.changes
  cross-sparc-binutils.spec
  cross-sparc64-binutils.changes
  cross-sparc64-binutils.spec
  cross-spu-binutils.changes
  cross-spu-binutils.spec
  cross-x86_64-binutils.changes
  cross-x86_64-binutils.spec
  cross-xtensa-binutils.changes
  cross-xtensa-binutils.spec
  pre_checkin.sh

New:

  _multibuild



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.bNUjba/_old  2022-05-06 18:58:08.257277734 +0200
+++ /var/tmp/diff_new_pack.bNUjba/_new  2022-05-06 18:58:08.261277738 +0200
@@ -16,7 +16,33 @@
 #
 
 
+%define flavor @BUILD_FLAVOR@%{nil}
+
+%if "%{flavor}" != ""
+%define cross 1
+%define targetarch %(echo %flavor | sed -e 's/i.86/i586/;s/ppc/powerpc/')
+%define TARGET %targetarch
+
+# Spec parsing does not support execution of external command,
+# that's why we use the if-else chain.
+%if "%{flavor}" == "i386"
+ExcludeArch:%ix86
+%else
+%if "%{flavor}" == "arm"
+ExcludeArch:%arm
+%else
+ExcludeArch:%{flavor}
+%endif
+%endif
+
+%endif
+
+%if "%{flavor}" == ""
 Name:   binutils
+%else
+Name:   cross-%{flavor}-binutils
+%endif
+
 BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
@@ -88,11 +114,9 @@
 License:GFDL-1.3-only AND GPL-3.0-or-later
 Group:  Development/Tools/Building
 Source: binutils-%{version}.tar.bz2
-Source4:binutils-%{version}.tar.bz2.sig
-Source5:binutils.keyring
-Source1:pre_checkin.sh
-Source2:README.First-for.SUSE.packagers
-Source3:baselibs.conf
+Source2:binutils-%{version}.tar.bz2.sig
+Source3:binutils.keyring
+Source4:baselibs.conf
 Patch1: binutils-2.38-branch.diff.gz
 Patch3: binutils-skip-rpaths.patch
 Patch4: s390-biarch.diff

++ _multibuild ++

  aarch64
  hppa
  hppa64
  arm
  i386
  x86_64
  s390
  s390x
  ppc
  ppc64
  ppc64le
  ia64
  sparc
  sparc64
  spu
  avr
  pru
  mips
  m68k
  epiphany
  rx
  riscv64
  xtensa



commit binutils for openSUSE:Factory

2022-04-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2022-04-14 17:22:48

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.1941 (New)


Package is "binutils"

Thu Apr 14 17:22:48 2022 rev:156 rq:969239 version:2.38

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2022-03-24 
22:56:47.308179648 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.1941/binutils.changes  
2022-04-14 17:22:54.203083717 +0200
@@ -1,0 +2,6 @@
+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]
+
+---
cross-aarch64-binutils.changes: same change
cross-arm-binutils.changes: same change
cross-avr-binutils.changes: same change
cross-epiphany-binutils.changes: same change
cross-hppa-binutils.changes: same change
cross-hppa64-binutils.changes: same change
cross-i386-binutils.changes: same change
cross-ia64-binutils.changes: same change
cross-m68k-binutils.changes: same change
cross-mips-binutils.changes: same change
cross-ppc-binutils.changes: same change
cross-ppc64-binutils.changes: same change
cross-ppc64le-binutils.changes: same change
cross-pru-binutils.changes: same change
cross-riscv64-binutils.changes: same change
cross-rx-binutils.changes: same change
cross-s390-binutils.changes: same change
cross-s390x-binutils.changes: same change
cross-sparc-binutils.changes: same change
cross-sparc64-binutils.changes: same change
cross-spu-binutils.changes: same change
cross-x86_64-binutils.changes: same change
cross-xtensa-binutils.changes: same change



Other differences:
--
cross-aarch64-binutils.spec: same change
cross-arm-binutils.spec: same change
cross-avr-binutils.spec: same change
cross-epiphany-binutils.spec: same change
cross-hppa-binutils.spec: same change
cross-hppa64-binutils.spec: same change
cross-i386-binutils.spec: same change
cross-ia64-binutils.spec: same change
cross-m68k-binutils.spec: same change
cross-mips-binutils.spec: same change
cross-ppc-binutils.spec: same change
cross-ppc64-binutils.spec: same change
cross-ppc64le-binutils.spec: same change
cross-pru-binutils.spec: same change
cross-riscv64-binutils.spec: same change
cross-rx-binutils.spec: same change
cross-s390-binutils.spec: same change
cross-s390x-binutils.spec: same change
cross-sparc-binutils.spec: same change
cross-sparc64-binutils.spec: same change
cross-spu-binutils.spec: same change
cross-x86_64-binutils.spec: same change
cross-xtensa-binutils.spec: same change
++ binutils-2.38-branch.diff.gz ++
 12677 lines (skipped)
 between /work/SRC/openSUSE:Factory/binutils/binutils-2.38-branch.diff.gz
 and 
/work/SRC/openSUSE:Factory/.binutils.new.1941/binutils-2.38-branch.diff.gz


commit binutils for openSUSE:Factory

2022-03-24 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2022-03-24 22:56:46

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.1900 (New)


Package is "binutils"

Thu Mar 24 22:56:46 2022 rev:155 rq:964006 version:2.38

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2022-03-17 
17:01:10.721670678 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.1900/binutils.changes  
2022-03-24 22:56:47.308179648 +0100
@@ -1,0 +2,7 @@
+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.
+
+---
cross-aarch64-binutils.changes: same change
cross-arm-binutils.changes: same change
cross-avr-binutils.changes: same change
cross-epiphany-binutils.changes: same change
cross-hppa-binutils.changes: same change
cross-hppa64-binutils.changes: same change
cross-i386-binutils.changes: same change
cross-ia64-binutils.changes: same change
cross-m68k-binutils.changes: same change
cross-mips-binutils.changes: same change
cross-ppc-binutils.changes: same change
cross-ppc64-binutils.changes: same change
cross-ppc64le-binutils.changes: same change
cross-pru-binutils.changes: same change
cross-riscv64-binutils.changes: same change
cross-rx-binutils.changes: same change
cross-s390-binutils.changes: same change
cross-s390x-binutils.changes: same change
cross-sparc-binutils.changes: same change
cross-sparc64-binutils.changes: same change
cross-spu-binutils.changes: same change
cross-x86_64-binutils.changes: same change
cross-xtensa-binutils.changes: same change

New:

  binutils-znow.patch



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.PjmSQK/_old  2022-03-24 22:56:50.472182761 +0100
+++ /var/tmp/diff_new_pack.PjmSQK/_new  2022-03-24 22:56:50.476182765 +0100
@@ -103,6 +103,7 @@
 Patch10:enable-targets-gold.diff
 Patch12:s390-pic-dso.diff
 Patch14:binutils-build-as-needed.diff
+Patch15:binutils-znow.patch
 Patch22:binutils-bfd_h.patch
 Patch34:aarch64-common-pagesize.patch
 Patch36:binutils-pr22868.diff
@@ -207,6 +208,7 @@
 %patch10
 %patch12
 %patch14
+%patch15
 %patch22
 %patch34 -p1
 %patch36 -p1

++ cross-aarch64-binutils.spec ++
--- /var/tmp/diff_new_pack.PjmSQK/_old  2022-03-24 22:56:50.500182789 +0100
+++ /var/tmp/diff_new_pack.PjmSQK/_new  2022-03-24 22:56:50.504182792 +0100
@@ -106,6 +106,7 @@
 Patch10:enable-targets-gold.diff
 Patch12:s390-pic-dso.diff
 Patch14:binutils-build-as-needed.diff
+Patch15:binutils-znow.patch
 Patch22:binutils-bfd_h.patch
 Patch34:aarch64-common-pagesize.patch
 Patch36:binutils-pr22868.diff
@@ -210,6 +211,7 @@
 %patch10
 %patch12
 %patch14
+%patch15
 %patch22
 %patch34 -p1
 %patch36 -p1

cross-arm-binutils.spec: same change
cross-avr-binutils.spec: same change
cross-epiphany-binutils.spec: same change
cross-hppa-binutils.spec: same change
cross-hppa64-binutils.spec: same change
cross-i386-binutils.spec: same change
cross-ia64-binutils.spec: same change
cross-m68k-binutils.spec: same change
cross-mips-binutils.spec: same change
cross-ppc-binutils.spec: same change
cross-ppc64-binutils.spec: same change
cross-ppc64le-binutils.spec: same change
cross-pru-binutils.spec: same change
cross-riscv64-binutils.spec: same change
cross-rx-binutils.spec: same change
cross-s390-binutils.spec: same change
cross-s390x-binutils.spec: same change
cross-sparc-binutils.spec: same change
cross-sparc64-binutils.spec: same change
cross-spu-binutils.spec: same change
cross-x86_64-binutils.spec: same change
cross-xtensa-binutils.spec: same change

++ binutils-znow.patch ++
Index: binutils-2.38/ld/ldmain.c
===
--- ld/ldmain.c
+++ ld/ldmain.c
@@ -309,6 +309,10 @@ main (int argc, char **argv)
 #endif
   if (getenv ("SUSE_ASNEEDED") && atoi(getenv ("SUSE_ASNEEDED")) > 0)
 input_flags.add_DT_NEEDED_for_regular = true;
+  if (getenv ("SUSE_ZNOW") && atoi(getenv ("SUSE_ZNOW")) > 0) {
+link_info.flags |= (bfd_vma) DF_BIND_NOW;
+link_info.flags_1 |= (bfd_vma) DF_1_NOW;
+  }
 
   config.build_constructors = true;
   config.rpath_separator = ':';


commit binutils for openSUSE:Factory

2022-03-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2022-03-17 17:01:09

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.25692 (New)


Package is "binutils"

Thu Mar 17 17:01:09 2022 rev:154 rq:961607 version:2.38

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2022-03-05 
14:42:58.383694197 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.25692/binutils.changes 
2022-03-17 17:01:10.721670678 +0100
@@ -1,0 +2,6 @@
+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.
+
+---
cross-aarch64-binutils.changes: same change
cross-arm-binutils.changes: same change
cross-avr-binutils.changes: same change
cross-epiphany-binutils.changes: same change
cross-hppa-binutils.changes: same change
cross-hppa64-binutils.changes: same change
cross-i386-binutils.changes: same change
cross-ia64-binutils.changes: same change
cross-m68k-binutils.changes: same change
cross-mips-binutils.changes: same change
cross-ppc-binutils.changes: same change
cross-ppc64-binutils.changes: same change
cross-ppc64le-binutils.changes: same change
cross-pru-binutils.changes: same change
cross-riscv64-binutils.changes: same change
cross-rx-binutils.changes: same change
cross-s390-binutils.changes: same change
cross-s390x-binutils.changes: same change
cross-sparc-binutils.changes: same change
cross-sparc64-binutils.changes: same change
cross-spu-binutils.changes: same change
cross-x86_64-binutils.changes: same change
cross-xtensa-binutils.changes: same change



Other differences:
--
cross-aarch64-binutils.spec: same change
cross-arm-binutils.spec: same change
cross-avr-binutils.spec: same change
cross-epiphany-binutils.spec: same change
cross-hppa-binutils.spec: same change
cross-hppa64-binutils.spec: same change
cross-i386-binutils.spec: same change
cross-ia64-binutils.spec: same change
cross-m68k-binutils.spec: same change
cross-mips-binutils.spec: same change
cross-ppc-binutils.spec: same change
cross-ppc64-binutils.spec: same change
cross-ppc64le-binutils.spec: same change
cross-pru-binutils.spec: same change
cross-riscv64-binutils.spec: same change
cross-rx-binutils.spec: same change
cross-s390-binutils.spec: same change
cross-s390x-binutils.spec: same change
cross-sparc-binutils.spec: same change
cross-sparc64-binutils.spec: same change
cross-spu-binutils.spec: same change
cross-x86_64-binutils.spec: same change
cross-xtensa-binutils.spec: same change

++ binutils-skip-rpaths.patch ++
--- /var/tmp/diff_new_pack.RHzxbE/_old  2022-03-17 17:01:15.117674043 +0100
+++ /var/tmp/diff_new_pack.RHzxbE/_new  2022-03-17 17:01:15.121674046 +0100
@@ -56,7 +56,7 @@
asection *sinterp;
bfd *abfd;
struct bfd_link_hash_entry *ehdr_start = NULL;
-@@ -1572,7 +1597,65 @@ ldelf_before_allocation (char *audit, char *depaudit,
+@@ -1608,7 +1633,67 @@ ldelf_before_allocation (char *audit, char *depaudit,
   by dynamic linking.  */
rpath = command_line.rpath;
if (rpath == NULL)
@@ -73,12 +73,14 @@
 + fseek (ldso, 0, SEEK_END);
 + endcur = ftell (ldso);
 + fseek (ldso, 0, SEEK_SET);
-+ dirs = xmalloc (endcur);
++ dirs = xmalloc (endcur + 1);
 + if (fread (dirs, 1, endcur, ldso) != (size_t) endcur)
 +   {
 + free (dirs);
 + dirs = NULL;
 +   }
++   else
++ dirs[endcur] = '\0';
 +   }
 +  if (dirs)
 +   {


commit binutils for openSUSE:Factory

2022-03-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2022-03-05 14:42:56

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.1958 (New)


Package is "binutils"

Sat Mar  5 14:42:56 2022 rev:153 rq:959404 version:2.38

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2021-11-17 
01:12:25.934131067 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.1958/binutils.changes  
2022-03-05 14:42:58.383694197 +0100
@@ -1,0 +2,103 @@
+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 S

commit binutils for openSUSE:Factory

2021-11-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2021-11-17 01:12:25

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.1890 (New)


Package is "binutils"

Wed Nov 17 01:12:25 2021 rev:152 rq:931326 version:2.37

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2021-11-06 
18:13:07.872731525 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.1890/binutils.changes  
2021-11-17 01:12:25.934131067 +0100
@@ -1,0 +2,12 @@
+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]
+
+---
@@ -118,0 +131 @@
+  bnc#1184519 aka CVE-2021-20294 aka PR26929
@@ -120,0 +134,2 @@
+- Also fixes:
+  bsc#1183909 - slow performance of stripping some binaries
cross-aarch64-binutils.changes: same change
cross-arm-binutils.changes: same change
cross-avr-binutils.changes: same change
cross-epiphany-binutils.changes: same change
cross-hppa-binutils.changes: same change
cross-hppa64-binutils.changes: same change
cross-i386-binutils.changes: same change
cross-ia64-binutils.changes: same change
cross-m68k-binutils.changes: same change
cross-mips-binutils.changes: same change
cross-ppc-binutils.changes: same change
cross-ppc64-binutils.changes: same change
cross-ppc64le-binutils.changes: same change
cross-riscv64-binutils.changes: same change
cross-rx-binutils.changes: same change
cross-s390-binutils.changes: same change
cross-s390x-binutils.changes: same change
cross-sparc-binutils.changes: same change
cross-sparc64-binutils.changes: same change
cross-spu-binutils.changes: same change
cross-x86_64-binutils.changes: same change
cross-xtensa-binutils.changes: same change

New:

  binutils-revert-hlasm-insns.diff



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.zbdzYb/_old  2021-11-17 01:12:31.418133125 +0100
+++ /var/tmp/diff_new_pack.zbdzYb/_new  2021-11-17 01:12:31.418133125 +0100
@@ -111,6 +111,7 @@
 Patch40:binutils-fix-abierrormsg.diff
 Patch41:binutils-fix-relax.diff
 Patch42:binutils-compat-old-behaviour.diff
+Patch43:binutils-revert-hlasm-insns.diff
 Patch100:   add-ulp-section.diff
 Patch90:cross-avr-nesc-as.patch
 Patch92:cross-avr-omit_section_dynsym.patch
@@ -212,6 +213,7 @@
 %patch41 -p1
 %if %{suse_version} < 1550
 %patch42 -p1
+%patch43 -p1
 %endif
 %patch100 -p1
 %if "%{TARGET}" == "avr"

++ cross-aarch64-binutils.spec ++
--- /var/tmp/diff_new_pack.zbdzYb/_old  2021-11-17 01:12:31.438133133 +0100
+++ /var/tmp/diff_new_pack.zbdzYb/_new  2021-11-17 01:12:31.442133134 +0100
@@ -114,6 +114,7 @@
 Patch40:binutils-fix-abierrormsg.diff
 Patch41:binutils-fix-relax.diff
 Patch42:binutils-compat-old-behaviour.diff
+Patch43:binutils-revert-hlasm-insns.diff
 Patch100:   add-ulp-section.diff
 Patch90:cross-avr-nesc-as.patch
 Patch92:cross-avr-omit_section_dynsym.patch
@@ -215,6 +216,7 @@
 %patch41 -p1
 %if %{suse_version} < 1550
 %patch42 -p1
+%patch43 -p1
 %endif
 %patch100 -p1
 %if "%{TARGET}" == "avr"

cross-arm-binutils.spec: same change
cross-avr-binutils.spec: same change
cross-epiphany-binutils.spec: same change
cross-hppa-binutils.spec: same change
cross-hppa64-binutils.spec: same change
cross-i386-binutils.spec: same change
cross-ia64-binutils.spec: same change
cross-m68k-binutils.spec: same change
cross-mips-binutils.spec: same change
cross-ppc-binutils.spec: same change
cross-ppc64-binutils.spec: same change
cross-ppc64le-binutils.spec: same change
cross-riscv64-binutils.spec: same change
cross-rx-binutils.spec: same change
cross-s390-binutils.spec: same change
cross-s390x-binutils.spec: same change
cross-sparc-binutils.spec: same change
cross-sparc64-binutils.spec: same change
cross-spu-binutils.spec: same change
cross-x86_64-binutils.spec: same change
cross-xtensa-binutils.spec: same change
++ binutils-2.37-branch.diff.gz ++
--- /var/tmp/diff_new_pack.zbdzYb/_old  2021-11-17 01:12:31.990133340 +0100
+++ /var/tmp/diff_new_pack.zbdzYb/_new  2021-11-17 01:12:31.998133342 +0100
@@ -10416,7 +10416,7 @@
  #~ msgstr "%B:  ?? ?? 
i960: %d"
  
 diff --git a/bfd/version.h b/bfd/version.h
-index d374ca5518f..2ed27ca370c 100644

commit binutils for openSUSE:Factory

2021-11-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2021-11-06 18:13:03

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.1890 (New)


Package is "binutils"

Sat Nov  6 18:13:03 2021 rev:151 rq:929013 version:2.37

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2021-09-17 
23:25:29.989212010 +0200
+++ /work/SRC/openSUSE:Factory/.binutils.new.1890/binutils.changes  
2021-11-06 18:13:07.872731525 +0100
@@ -1,0 +2,41 @@
+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 sch...@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.
+
+---
cross-aarch64-binutils.changes: same change
cross-arm-binutils.changes: same change
cross-avr-binutils.changes: same change
cross-epiphany-binutils.changes: same change
cross-hppa-binutils.changes: same change
cross-hppa64-binutils.changes: same change
cross-i386-binutils.changes: same change
cross-ia64-binutils.changes: same change
cross-m68k-binutils.changes: same change
cross-mips-binutils.changes: same change
cross-ppc-binutils.changes: same change
cross-ppc64-binutils.changes: same change
cross-ppc64le-binutils.changes: same change
cross-riscv64-binutils.changes: same change
cross-rx-binutils.changes: same change
cross-s390-binutils.changes: same change
cross-s390x-binutils.changes: same change
cross-sparc-binutils.changes: same change
cross-sparc64-binutils.changes: same change
cross-spu-binutils.changes: same change
cross-x86_64-binutils.changes: same change
cross-xtensa-binutils.changes: same change

New:

  binutils-compat-old-behaviour.diff



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.9UimWo/_old  2021-11-06 18:13:11.812733589 +0100
+++ /var/tmp/diff_new_pack.9UimWo/_new  2021-11-06 18:13:11.816733590 +0100
@@ -36,6 +36,15 @@
 %endif
 Version:2.37
 Release:0
+
+# disable libalternatives for now until it's changed to not
+# introduce cmake/cunit-tests into the bootstrap cycle
+%if 0 && 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
 #
 # RUN_TESTS
 %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@@ -101,12 +110,17 @@
 Patch39:binutils-revert-nm-symversion.diff
 Patch40:binutils-fix-abierrormsg.diff
 Patch41:binutils-fix-relax.diff
+Patch42:binutils-compat-old-behaviour.diff
 Patch100:   add-ulp-section.diff
 Patch90:cross-avr-nesc-as.patch
 Patch92:cross-avr-omit_section_dynsym.patch
 Patch93:cross-avr-size.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if %{with libalternatives}
+Requires:   alts
+%else
 PreReq: update-alternatives
+%endif
 
 %description
 C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
@@ -118,7 +132,11 @@
 License:GPL-3.0-or-later
 Group:  Development/Tools/Building
 Requires:   binutils = %{version}-%{release}
+%if %{with libalternatives}
+Requires:   alts
+%else
 PreReq: update-alternatives
+%endif
 %if 0%{!?c

commit binutils for openSUSE:Factory

2021-09-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2021-09-17 23:25:22

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.1899 (New)


Package is "binutils"

Fri Sep 17 23:25:22 2021 rev:150 rq:910009 version:2.37

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2021-05-17 
18:44:51.752738709 +0200
+++ /work/SRC/openSUSE:Factory/.binutils.new.1899/binutils.changes  
2021-09-17 23:25:29.989212010 +0200
@@ -1,0 +2,86 @@
+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 1 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#1184620 aka CVE-2021-3487 aka PR26946
+  bnc#1184794 aka CVE-2020-35448 aka PR26574
+- Rebased patches: binutils-build-as-needed.diff, 
binutils-fix-abierrormsg.diff,
+  binutils-fix-invalid-op-errata.diff, binutils-fix-relax.diff,
+  binutils-revert-nm-symvers

commit binutils for openSUSE:Factory

2021-05-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2021-05-17 18:44:48

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.2988 (New)


Package is "binutils"

Mon May 17 18:44:48 2021 rev:149 rq:892038 version:2.36

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2021-04-08 
21:01:22.493849401 +0200
+++ /work/SRC/openSUSE:Factory/.binutils.new.2988/binutils.changes  
2021-05-17 18:44:51.752738709 +0200
@@ -1,0 +2,8 @@
+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)
+
+---
cross-aarch64-binutils.changes: same change
cross-arm-binutils.changes: same change
cross-avr-binutils.changes: same change
cross-epiphany-binutils.changes: same change
cross-hppa-binutils.changes: same change
cross-hppa64-binutils.changes: same change
cross-i386-binutils.changes: same change
cross-ia64-binutils.changes: same change
cross-m68k-binutils.changes: same change
cross-mips-binutils.changes: same change
cross-ppc-binutils.changes: same change
cross-ppc64-binutils.changes: same change
cross-ppc64le-binutils.changes: same change
cross-riscv64-binutils.changes: same change
cross-rx-binutils.changes: same change
cross-s390-binutils.changes: same change
cross-s390x-binutils.changes: same change
cross-sparc-binutils.changes: same change
cross-sparc64-binutils.changes: same change
cross-spu-binutils.changes: same change
cross-x86_64-binutils.changes: same change
cross-xtensa-binutils.changes: same change

New:

  ppc-ensure-undef-dynamic-weak-undefined.patch
  ppc-use-local-plt.patch



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.UKHt0I/_old  2021-05-17 18:44:55.076724606 +0200
+++ /var/tmp/diff_new_pack.UKHt0I/_new  2021-05-17 18:44:55.080724589 +0200
@@ -101,6 +101,8 @@
 Patch39:binutils-revert-nm-symversion.diff
 Patch40:binutils-fix-abierrormsg.diff
 Patch41:binutils-fix-relax.diff
+Patch42:ppc-use-local-plt.patch
+Patch43:ppc-ensure-undef-dynamic-weak-undefined.patch
 Patch100:   add-ulp-section.diff
 Patch90:cross-avr-nesc-as.patch
 Patch92:cross-avr-omit_section_dynsym.patch
@@ -192,6 +194,8 @@
 %patch39 -p1
 %patch40 -p1
 %patch41 -p1
+%patch42 -p1
+%patch43 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

++ cross-aarch64-binutils.spec ++
--- /var/tmp/diff_new_pack.UKHt0I/_old  2021-05-17 18:44:55.096724521 +0200
+++ /var/tmp/diff_new_pack.UKHt0I/_new  2021-05-17 18:44:55.100724504 +0200
@@ -104,6 +104,8 @@
 Patch39:binutils-revert-nm-symversion.diff
 Patch40:binutils-fix-abierrormsg.diff
 Patch41:binutils-fix-relax.diff
+Patch42:ppc-use-local-plt.patch
+Patch43:ppc-ensure-undef-dynamic-weak-undefined.patch
 Patch100:   add-ulp-section.diff
 Patch90:cross-avr-nesc-as.patch
 Patch92:cross-avr-omit_section_dynsym.patch
@@ -195,6 +197,8 @@
 %patch39 -p1
 %patch40 -p1
 %patch41 -p1
+%patch42 -p1
+%patch43 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

cross-arm-binutils.spec: same change
cross-avr-binutils.spec: same change
cross-epiphany-binutils.spec: same change
cross-hppa-binutils.spec: same change
cross-hppa64-binutils.spec: same change
cross-i386-binutils.spec: same change
cross-ia64-binutils.spec: same change
cross-m68k-binutils.spec: same change
cross-mips-binutils.spec: same change
cross-ppc-binutils.spec: same change
cross-ppc64-binutils.spec: same change
cross-ppc64le-binutils.spec: same change
cross-riscv64-binutils.spec: same change
cross-rx-binutils.spec: same change
cross-s390-binutils.spec: same change
cross-s390x-binutils.spec: same change
cross-sparc-binutils.spec: same change
cross-sparc64-binutils.spec: same change
cross-spu-binutils.spec: same change
cross-x86_64-binutils.spec: same change
cross-xtensa-binutils.spec: same change


++ ppc-ensure-undef-dynamic-weak-undefined.patch ++
>From b293661219c36e72acb80502a86b51160bb88cfd Mon Sep 17 00:00:00 2001
From: Alan Modra 
Date: Mon, 3 May 2021 10:03:06 +0930
Subject: [PATCH] PPC: ensure_undef_dynamic on weak undef only in plt

It's slightly weird to have a call to a weak function not protected by
a test of that function being non-NULL, but the non-NULL test might be
covered by a test of another function.  For example:
  if (func1)
{
  

commit binutils for openSUSE:Factory

2021-04-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2021-04-08 21:01:19

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.2401 (New)


Package is "binutils"

Thu Apr  8 21:01:19 2021 rev:148 rq:881490 version:2.36

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2021-03-10 
08:49:06.190384110 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.2401/binutils.changes  
2021-04-08 21:01:22.493849401 +0200
@@ -1,0 +2,10 @@
+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.
+
+---
cross-aarch64-binutils.changes: same change
cross-arm-binutils.changes: same change
cross-avr-binutils.changes: same change
cross-epiphany-binutils.changes: same change
cross-hppa-binutils.changes: same change
cross-hppa64-binutils.changes: same change
cross-i386-binutils.changes: same change
cross-ia64-binutils.changes: same change
cross-m68k-binutils.changes: same change
cross-mips-binutils.changes: same change
cross-ppc-binutils.changes: same change
cross-ppc64-binutils.changes: same change
cross-ppc64le-binutils.changes: same change
cross-riscv64-binutils.changes: same change
cross-rx-binutils.changes: same change
cross-s390-binutils.changes: same change
cross-s390x-binutils.changes: same change
cross-sparc-binutils.changes: same change
cross-sparc64-binutils.changes: same change
cross-spu-binutils.changes: same change
cross-x86_64-binutils.changes: same change
cross-xtensa-binutils.changes: same change



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.IlUp9S/_old  2021-04-08 21:01:25.505852654 +0200
+++ /var/tmp/diff_new_pack.IlUp9S/_new  2021-04-08 21:01:25.505852654 +0200
@@ -113,7 +113,6 @@
 size, strings, and strip. These utilities are needed whenever you want
 to compile a program or kernel.
 
-
 %package gold
 Summary:The gold linker
 License:GPL-3.0-or-later
@@ -281,9 +280,6 @@
 %endif
--enable-shared \
--enable-obsolete
-make %{?_smp_mflags} all-bfd TARGET-bfd=headers
-# force reconfiguring (???)
-rm bfd/Makefile
 make %{?_smp_mflags}
 
 %else

cross-aarch64-binutils.spec: same change
cross-arm-binutils.spec: same change
cross-avr-binutils.spec: same change
cross-epiphany-binutils.spec: same change
cross-hppa-binutils.spec: same change
cross-hppa64-binutils.spec: same change
cross-i386-binutils.spec: same change
cross-ia64-binutils.spec: same change
cross-m68k-binutils.spec: same change
cross-mips-binutils.spec: same change
cross-ppc-binutils.spec: same change
cross-ppc64-binutils.spec: same change
cross-ppc64le-binutils.spec: same change
cross-riscv64-binutils.spec: same change
cross-rx-binutils.spec: same change
cross-s390-binutils.spec: same change
cross-s390x-binutils.spec: same change
cross-sparc-binutils.spec: same change
cross-sparc64-binutils.spec: same change
cross-spu-binutils.spec: same change
cross-x86_64-binutils.spec: same change
cross-xtensa-binutils.spec: same change
++ binutils-2.36-branch.diff.gz ++
--- /var/tmp/diff_new_pack.IlUp9S/_old  2021-04-08 21:01:26.013853203 +0200
+++ /var/tmp/diff_new_pack.IlUp9S/_new  2021-04-08 21:01:26.017853207 +0200
@@ -1,8 +1,17 @@
 diff --git a/ChangeLog b/ChangeLog
-index 185bde7efbd..8420c77ff49 100644
+index 185bde7efbd..1a00154ef51 100644
 --- a/ChangeLog
 +++ b/ChangeLog
-@@ -1,3 +1,8 @@
+@@ -1,3 +1,17 @@
++2021-03-18  Nick Alcock  
++
++  PR libctf/27482
++  * Makefile.def: Add install-bfd dependencies for install-libctf and
++  install-ld, and install-strip-bfd dependencies for
++  install-strip-libctf and install-strip-ld; move the install-ld
++  dependency on install-libctf to join it.
++  * Makefile.in: Regenerated.
++
 +2021-01-26  Nick Alcock  
 +
 +  * Makefile.def: Add install-libctf dependency to install-ld.
@@ -12,34 +21,57 @@
  
* 2.36 release branch crated.
 diff --git a/Makefile.def b/Makefile.def
-index cc429aa8628..b45e580da5b 100644
+index cc429aa8628..eb15489390e 100644
 --- a/Makefile.def
 +++ b/Makefile.def
-@@ -448,6 +448,7 @@ dependencies = { module=all-binutils; on=all-intl; };
- dependencies = { module=all-binutils; on=all-gas; };
- dependencies = { module=all-binutils; on=all-libctf; };
- dependencies = { module=all-ld; on=all-libctf; };
+@@ -455,6 +455,14 @@ dependencies = { module=all-ld; on=all-libctf; };
+ dependencies = { module=install-binutils; on=

commit binutils for openSUSE:Factory

2021-03-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2021-03-10 08:48:41

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.2378 (New)


Package is "binutils"

Wed Mar 10 08:48:41 2021 rev:147 rq:875983 version:2.36

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2021-02-23 
20:17:39.811510282 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.2378/binutils.changes  
2021-03-10 08:49:06.190384110 +0100
@@ -1,0 +2,5 @@
+Mon Mar  1 09:01:59 UTC 2021 - Martin Li??ka 
+
+- Bump 2.36 branch diff (includes fix for PR27441 aka bsc#1182252).
+
+---
cross-aarch64-binutils.changes: same change
cross-arm-binutils.changes: same change
cross-avr-binutils.changes: same change
cross-epiphany-binutils.changes: same change
cross-hppa-binutils.changes: same change
cross-hppa64-binutils.changes: same change
cross-i386-binutils.changes: same change
cross-ia64-binutils.changes: same change
cross-m68k-binutils.changes: same change
cross-mips-binutils.changes: same change
cross-ppc-binutils.changes: same change
cross-ppc64-binutils.changes: same change
cross-ppc64le-binutils.changes: same change
cross-riscv64-binutils.changes: same change
cross-rx-binutils.changes: same change
cross-s390-binutils.changes: same change
cross-s390x-binutils.changes: same change
cross-sparc-binutils.changes: same change
cross-sparc64-binutils.changes: same change
cross-spu-binutils.changes: same change
cross-x86_64-binutils.changes: same change
cross-xtensa-binutils.changes: same change



Other differences:
--
cross-aarch64-binutils.spec: same change
cross-arm-binutils.spec: same change
cross-avr-binutils.spec: same change
cross-epiphany-binutils.spec: same change
cross-hppa-binutils.spec: same change
cross-hppa64-binutils.spec: same change
cross-i386-binutils.spec: same change
cross-ia64-binutils.spec: same change
cross-m68k-binutils.spec: same change
cross-mips-binutils.spec: same change
cross-ppc-binutils.spec: same change
cross-ppc64-binutils.spec: same change
cross-ppc64le-binutils.spec: same change
cross-riscv64-binutils.spec: same change
cross-rx-binutils.spec: same change
cross-s390-binutils.spec: same change
cross-s390x-binutils.spec: same change
cross-sparc-binutils.spec: same change
cross-sparc64-binutils.spec: same change
cross-spu-binutils.spec: same change
cross-x86_64-binutils.spec: same change
cross-xtensa-binutils.spec: same change
++ binutils-2.36-branch.diff.gz ++
 3788 lines (skipped)
 between /work/SRC/openSUSE:Factory/binutils/binutils-2.36-branch.diff.gz
 and 
/work/SRC/openSUSE:Factory/.binutils.new.2378/binutils-2.36-branch.diff.gz


commit binutils for openSUSE:Factory

2021-02-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2021-02-23 20:17:37

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.2378 (New)


Package is "binutils"

Tue Feb 23 20:17:37 2021 rev:146 rq:869232 version:2.36

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2020-11-23 
18:38:14.232606646 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.2378/binutils.changes  
2021-02-23 20:17:39.811510282 +0100
@@ -1,0 +2,123 @@
+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 com

[opensuse-commit] commit binutils for openSUSE:Factory

2020-11-23 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2020-11-23 15:29:36

Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and  /work/SRC/openSUSE:Factory/.binutils.new.5913 (New)


Package is "binutils"

Mon Nov 23 15:29:36 2020 rev:145 rq:848118 version:2.35.1

Changes:

--- /work/SRC/openSUSE:Factory/binutils/binutils.changes2020-11-07 
21:00:51.518074280 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.5913/binutils.changes  
2020-11-23 18:38:14.232606646 +0100
@@ -1,0 +2,18 @@
+Mon Oct 12 11:51:06 UTC 2020 - Stefan Brüns 
+
+- Reapply spec file cleanup from format_spec_file
+- Remove a SLE10 version check
+
+---
+Mon Sep 21 07:55:30 UTC 2020 - Martin Liška 
+
+- 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.
+
+---
cross-aarch64-binutils.changes: same change
cross-arm-binutils.changes: same change
cross-avr-binutils.changes: same change
cross-epiphany-binutils.changes: same change
cross-hppa-binutils.changes: same change
cross-hppa64-binutils.changes: same change
cross-i386-binutils.changes: same change
cross-ia64-binutils.changes: same change
cross-m68k-binutils.changes: same change
cross-mips-binutils.changes: same change
cross-ppc-binutils.changes: same change
cross-ppc64-binutils.changes: same change
cross-ppc64le-binutils.changes: same change
cross-riscv64-binutils.changes: same change
cross-rx-binutils.changes: same change
cross-s390-binutils.changes: same change
cross-s390x-binutils.changes: same change
cross-sparc-binutils.changes: same change
cross-sparc64-binutils.changes: same change
cross-spu-binutils.changes: same change
cross-x86_64-binutils.changes: same change
cross-xtensa-binutils.changes: same change

Old:

  binutils-2.35.tar.bz2
  binutils-2.35.tar.bz2.sig

New:

  binutils-2.35.1.tar.bz2
  binutils-2.35.1.tar.bz2.sig



Other differences:
--
++ binutils.spec ++
--- /var/tmp/diff_new_pack.2E9xOL/_old  2020-11-23 18:38:18.048610587 +0100
+++ /var/tmp/diff_new_pack.2E9xOL/_new  2020-11-23 18:38:18.052610592 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package binutils
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -33,7 +33,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:2.35
+Version:2.35.1
 Release:0
 #
 # RUN_TESTS
@@ -65,7 +65,7 @@
 #
 #
 #
-Url:http://www.gnu.org/software/binutils/
+URL:http://www.gnu.org/software/binutils/
 PreReq: %{install_info_prereq}
 # bug437293
 %ifarch ppc64
@@ -117,11 +117,9 @@
 Group:  Development/Tools/Building
 Requires:   binutils = %{version}-%{release}
 PreReq: update-alternatives
-%if 0%{suse_version} > 1100
 %if 0%{!?cross:1}
 %define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
 %endif
-%endif
 
 %description gold
 gold is an ELF linker. It is intended to have complete support for ELF

++ cross-aarch64-binutils.spec ++
--- /var/tmp/diff_new_pack.2E9xOL/_old  2020-11-23 18:38:18.080610620 +0100
+++ /var/tmp/diff_new_pack.2E9xOL/_new  2020-11-23 18:38:18.084610625 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-aarch64-binutils
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org