From 7678d731bf12011e69d4c29ab06c9334c2e9f905bc431d8278556696803fa76f Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Mon, 17 Feb 2020 14:18:06 +0000 Subject: [PATCH 1/6] Accepting request 774884 from home:marxin:branches:devel:gcc-clean - Update to binutils 2.34: * The disassembler (objdump --disassemble) now has an option to generate ascii art thats show the arcs between that start and end points of control flow instructions. * The binutils tools now have support for debuginfod. Debuginfod is a HTTP service for distributing ELF/DWARF debugging information as well as source code. The tools can now connect to debuginfod servers in order to download debug information about the files that they are processing. * The assembler and linker now support the generation of ELF format files for the Z80 architecture. - Rename and get binutils-2.34-branch.diff.gz (boo#1160254). - Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, cross-avr-size.patch and binutils-skip-rpaths.patch. - Add new subpackages for libctf and libctf-nobfd. - Disable LTO due to boo#1163333. - Includes fixes for these CVEs: bnc#1153768 aka CVE-2019-17451 aka PR25070 bnc#1153770 aka CVE-2019-17450 aka PR25078 OBS-URL: https://build.opensuse.org/request/show/774884 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=331 --- add-ulp-section.diff | 2 +- binutils-2.33-branch.diff.gz | 3 - binutils-2.33.1.tar.bz2 | 3 - binutils-2.33.1.tar.bz2.sig | 16 -- binutils-2.34-branch.diff.gz | 3 + binutils-2.34.tar.bz2 | 3 + binutils-2.34.tar.bz2.sig | 16 ++ binutils-revert-plt32-in-branches.diff | 260 ++++++++++++------------- binutils-skip-rpaths.patch | 43 ++-- binutils.changes | 25 +++ binutils.spec | 44 ++++- cross-aarch64-binutils.changes | 25 +++ cross-aarch64-binutils.spec | 44 ++++- cross-arm-binutils.changes | 25 +++ cross-arm-binutils.spec | 44 ++++- cross-avr-binutils.changes | 25 +++ cross-avr-binutils.spec | 44 ++++- cross-avr-size.patch | 12 +- cross-epiphany-binutils.changes | 25 +++ cross-epiphany-binutils.spec | 44 ++++- cross-hppa-binutils.changes | 25 +++ cross-hppa-binutils.spec | 44 ++++- cross-hppa64-binutils.changes | 25 +++ cross-hppa64-binutils.spec | 44 ++++- cross-i386-binutils.changes | 25 +++ cross-i386-binutils.spec | 44 ++++- cross-ia64-binutils.changes | 25 +++ cross-ia64-binutils.spec | 44 ++++- cross-m68k-binutils.changes | 25 +++ cross-m68k-binutils.spec | 44 ++++- cross-mips-binutils.changes | 25 +++ cross-mips-binutils.spec | 44 ++++- cross-ppc-binutils.changes | 25 +++ cross-ppc-binutils.spec | 44 ++++- cross-ppc64-binutils.changes | 25 +++ cross-ppc64-binutils.spec | 44 ++++- cross-ppc64le-binutils.changes | 25 +++ cross-ppc64le-binutils.spec | 44 ++++- cross-riscv64-binutils.changes | 25 +++ cross-riscv64-binutils.spec | 44 ++++- cross-rx-binutils.changes | 25 +++ cross-rx-binutils.spec | 44 ++++- cross-s390-binutils.changes | 25 +++ cross-s390-binutils.spec | 44 ++++- cross-s390x-binutils.changes | 25 +++ cross-s390x-binutils.spec | 44 ++++- cross-sparc-binutils.changes | 25 +++ cross-sparc-binutils.spec | 44 ++++- cross-sparc64-binutils.changes | 25 +++ cross-sparc64-binutils.spec | 44 ++++- cross-spu-binutils.changes | 25 +++ cross-spu-binutils.spec | 44 ++++- cross-x86_64-binutils.changes | 25 +++ cross-x86_64-binutils.spec | 44 ++++- cross-xtensa-binutils.changes | 25 +++ cross-xtensa-binutils.spec | 44 ++++- 56 files changed, 1561 insertions(+), 387 deletions(-) delete mode 100644 binutils-2.33-branch.diff.gz delete mode 100644 binutils-2.33.1.tar.bz2 delete mode 100644 binutils-2.33.1.tar.bz2.sig create mode 100644 binutils-2.34-branch.diff.gz create mode 100644 binutils-2.34.tar.bz2 create mode 100644 binutils-2.34.tar.bz2.sig diff --git a/add-ulp-section.diff b/add-ulp-section.diff index 781a2dd..30f78d0 100644 --- a/add-ulp-section.diff +++ b/add-ulp-section.diff @@ -117,7 +117,7 @@ Index: bfd/elfxx-x86.c + if (sec == NULL) + info->callbacks->einfo (_("%F%P: failed to create ULP section\n")); + -+ if (!bfd_set_section_alignment (dynobj, sec, plt_alignment)) ++ if (!bfd_set_section_alignment (sec, plt_alignment)) + goto error_alignment; + + htab->ulp = sec; diff --git a/binutils-2.33-branch.diff.gz b/binutils-2.33-branch.diff.gz deleted file mode 100644 index fdb062b..0000000 --- a/binutils-2.33-branch.diff.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:753461d66ec1fd63c1b3fcb3e1624929fcb76f1a4ef94ad336f245711c9dd6e5 -size 4154 diff --git a/binutils-2.33.1.tar.bz2 b/binutils-2.33.1.tar.bz2 deleted file mode 100644 index 0ed1f56..0000000 --- a/binutils-2.33.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0cb4843da15a65a953907c96bad658283f3c4419d6bcc56bf2789db16306adb2 -size 32160315 diff --git a/binutils-2.33.1.tar.bz2.sig b/binutils-2.33.1.tar.bz2.sig deleted file mode 100644 index 55f7d72..0000000 --- a/binutils-2.33.1.tar.bz2.sig +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIcBAABAgAGBQJdoeAZAAoJEBP874ndnjxPOuoP/jwIVpf4Qv6Hgj0my3URexUg -8UFrF2pOrL9YECYMinpcY8k3F4vNa+CaNSc+7089EbwmLfRgP6nWZ1Vjdl/0k/5P -AYeNgjo88/D5awx/ZPbq3zc1M1OYFhMGtUX4nLdUKqTqBfKargvlVxwtjFkgze90 -afU5uVyrpdxGQou1wvsX3m8zYEHAqL9bRyBs+5XV9OAwamjaUR8Cvfkxa2p6MuvZ -/koSamowRgKyAya2OKzaqV0oZxfP6jjefvZfiRVYCtp5vC0LDPq7h36QsWaGupaA -jQm+KkqjVF8HvMRoYvnq3SZEZlAmGpXo9Iyyt2htIRF0TvSrcWCq8uOxULbYUN+2 -XK9o0wqBeF79xvhf73b6JKKEAqpkq0l+LzT31BySyK6sbXaUWBHJFlQSR1GQu8Dq -04/yA+ZZEZsBASFLiY1XrjhHuTZmk/Y7ImNd0XsKsRdwuSGAECZOM2un7vWVcyQw -ioh4NjcryqQaB56FG/myIioPBzjtkDuV5QWHso/NKVdR0GgvSmzO25TsDqt57sVX -r8bZOGZwToIxvdZ7BZzMBj/i4nZLJhQLzLrAligzlmmsMAqqSG2z7o5/QVQa60JW -mNyknALOsJYKGiIRIQm8NxB5Ke/AArXERaSElCl25BeUC46X1Udng/sE6mtlkdZB -MWJqymqJ3TwxKGecaypO -=EOtw ------END PGP SIGNATURE----- diff --git a/binutils-2.34-branch.diff.gz b/binutils-2.34-branch.diff.gz new file mode 100644 index 0000000..7dae14c --- /dev/null +++ b/binutils-2.34-branch.diff.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49f59f06b7254fa0bd2338b1749364d5ee53ac1a1635712e9e2657557a9b0bde +size 85864 diff --git a/binutils-2.34.tar.bz2 b/binutils-2.34.tar.bz2 new file mode 100644 index 0000000..79b16ea --- /dev/null +++ b/binutils-2.34.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89f010078b6cf69c23c27897d686055ab89b198dddf819efb0a4f2c38a0b36e6 +size 32430470 diff --git a/binutils-2.34.tar.bz2.sig b/binutils-2.34.tar.bz2.sig new file mode 100644 index 0000000..a399483 --- /dev/null +++ b/binutils-2.34.tar.bz2.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIcBAABAgAGBQJeNW1OAAoJEBP874ndnjxPFSwP/1q0yRRKHaKdb4P76bYabTol ++uyC6Xu1SFOlhIN3r3l8ExLWzrxBz/OppW/2TDkXbmEKJeMEBVYUQrXiTn+pV6qG +gcgx280syu/LNfCu13xT0zUax8gCH/f3s4VnN3sF46tcLMxb5m0ufPdERMmfok4A +IuMpZuKjZgeT6WXgdWlMRJc5byfWbBWdbw5kPy9d4Hih8KJ8doQEyfLHFe2wOmsL +sAC+pUZbrbsfzaO3L5OgM8dtOkTuRdFnierw6KxsI6WCz/mC69EycuaFVU8x1lf/ +wLJZ2/hdmXTbe2Fe1Z6aLOumyxUxWBP9eMD6NFt03gcnNEZoFkDoP+1jYHVFiMho +BbeGCWuIRsKlUwLPeXaxOR7O5/q2xL9XqyfbULP/Re1cvbt9ARt5XlTvoA9YwEiW +S/AN6KpDDnnDzkhL6Pw+UeG4D8c/Tu5iXYQJ5BrMFwW0ge8YKgswnLkJnzVcQ86I +atw8YBSpP30VDn39DDaAHdq3QTSQ0RcwMwPEujhz7x6FPwtDrlZpLSQlGRI7wO8W +nqIOhK9fAUyk4JRsmXulM2OXNgQWt9hLoh02+v5vmHjhRZdAUWPLmBPH4HEKd0Kl +YqkU0n5nj+Xo1OqmWCuyZ4JGm6rePhsuxInvt6CstR+CE+4CegN5sxiJjVy2tLyx +AIwlciAdeZY/r/CCZmRd +=RC4U +-----END PGP SIGNATURE----- diff --git a/binutils-revert-plt32-in-branches.diff b/binutils-revert-plt32-in-branches.diff index b182f15..653055e 100644 --- a/binutils-revert-plt32-in-branches.diff +++ b/binutils-revert-plt32-in-branches.diff @@ -78,10 +78,10 @@ Date: Tue Feb 13 07:34:22 2018 -0800 * testsuite/ld-x86-64/pr22791-2c.s: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests. -Index: binutils-2.33.1/bfd/elf64-x86-64.c -=================================================================== ---- binutils-2.33.1.orig/bfd/elf64-x86-64.c 2019-09-09 15:19:43.000000000 +0200 -+++ binutils-2.33.1/bfd/elf64-x86-64.c 2019-10-30 14:26:33.000000000 +0100 +diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c +index 79e68ff476..cee387da7d 100644 +--- a/bfd/elf64-x86-64.c ++++ b/bfd/elf64-x86-64.c @@ -1798,6 +1798,24 @@ rewrite_modrm_rex: return TRUE; } @@ -158,11 +158,11 @@ Index: binutils-2.33.1/bfd/elf64-x86-64.c } if (fail) -Index: binutils-2.33.1/gas/config/tc-i386.c -=================================================================== ---- binutils-2.33.1.orig/gas/config/tc-i386.c 2019-10-07 11:53:50.000000000 +0200 -+++ binutils-2.33.1/gas/config/tc-i386.c 2019-10-30 14:26:33.000000000 +0100 -@@ -7877,52 +7877,12 @@ output_branch (void) +diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c +index 8728725b82..527ae0b701 100644 +--- a/gas/config/tc-i386.c ++++ b/gas/config/tc-i386.c +@@ -7954,52 +7954,12 @@ output_branch (void) frag_var (rs_machine_dependent, 5, i.reloc[0], subtype, sym, off, p); } @@ -213,9 +213,9 @@ Index: binutils-2.33.1/gas/config/tc-i386.c fixS *fixP; - bfd_reloc_code_real_type jump_reloc = i.reloc[0]; - if (i.tm.opcode_modifier.jumpbyte) + if (i.tm.opcode_modifier.jump == JUMP_BYTE) { -@@ -7990,17 +7950,8 @@ output_jump (void) +@@ -8067,17 +8027,8 @@ output_jump (void) abort (); } @@ -234,7 +234,7 @@ Index: binutils-2.33.1/gas/config/tc-i386.c /* All jumps handled here are signed, but don't use a signed limit check for 32 and 16 bit jumps as we want to allow wrap around at -@@ -10430,10 +10381,6 @@ md_estimate_size_before_relax (fragS *fr +@@ -11263,10 +11214,6 @@ md_estimate_size_before_relax (fragS *fragP, segT segment) reloc_type = (enum bfd_reloc_code_real) fragP->fr_var; else if (size == 2) reloc_type = BFD_RELOC_16_PCREL; @@ -245,10 +245,10 @@ Index: binutils-2.33.1/gas/config/tc-i386.c else reloc_type = BFD_RELOC_32_PCREL; -Index: binutils-2.33.1/gas/testsuite/gas/i386/ilp32/reloc64.d -=================================================================== ---- binutils-2.33.1.orig/gas/testsuite/gas/i386/ilp32/reloc64.d 2019-09-09 15:19:44.000000000 +0200 -+++ binutils-2.33.1/gas/testsuite/gas/i386/ilp32/reloc64.d 2019-10-30 14:26:33.000000000 +0100 +diff --git a/gas/testsuite/gas/i386/ilp32/reloc64.d b/gas/testsuite/gas/i386/ilp32/reloc64.d +index 78ca3fd9e3..a961679754 100644 +--- a/gas/testsuite/gas/i386/ilp32/reloc64.d ++++ b/gas/testsuite/gas/i386/ilp32/reloc64.d @@ -17,7 +17,7 @@ Disassembly of section \.text: .*[ ]+R_X86_64_PC8[ ]+xtrn\+0x0*1 .*[ ]+R_X86_64_PC32[ ]+xtrn-0x0*4 @@ -258,10 +258,10 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/ilp32/reloc64.d .*[ ]+R_X86_64_PC8[ ]+xtrn-0x0*1 .*[ ]+R_X86_64_GOT32[ ]+xtrn .*[ ]+R_X86_64_GOT32[ ]+xtrn -Index: binutils-2.33.1/gas/testsuite/gas/i386/ilp32/x86-64-branch.d -=================================================================== ---- binutils-2.33.1.orig/gas/testsuite/gas/i386/ilp32/x86-64-branch.d 2019-09-09 15:19:44.000000000 +0200 -+++ binutils-2.33.1/gas/testsuite/gas/i386/ilp32/x86-64-branch.d 2019-10-30 14:26:33.000000000 +0100 +diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-branch.d b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d +index 45ab6178b9..915dbf3f1c 100644 +--- a/gas/testsuite/gas/i386/ilp32/x86-64-branch.d ++++ b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d @@ -20,9 +20,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 66 ff 20 data16 jmpq \*\(%rax\) [ ]*[a-f0-9]+: e8 00 00 00 00 callq 0x1f 1b: R_X86_64_PC32 \*ABS\*\+0x10003c @@ -275,10 +275,10 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/ilp32/x86-64-branch.d [ ]*[a-f0-9]+: ff d0 callq \*%rax [ ]*[a-f0-9]+: ff d0 callq \*%rax [ ]*[a-f0-9]+: 66 ff d0 data16 callq \*%rax -Index: binutils-2.33.1/gas/testsuite/gas/i386/reloc64.d -=================================================================== ---- binutils-2.33.1.orig/gas/testsuite/gas/i386/reloc64.d 2019-09-09 15:19:44.000000000 +0200 -+++ binutils-2.33.1/gas/testsuite/gas/i386/reloc64.d 2019-10-30 14:26:33.000000000 +0100 +diff --git a/gas/testsuite/gas/i386/reloc64.d b/gas/testsuite/gas/i386/reloc64.d +index 540a9b77d3..ea16c68de4 100644 +--- a/gas/testsuite/gas/i386/reloc64.d ++++ b/gas/testsuite/gas/i386/reloc64.d @@ -20,7 +20,7 @@ Disassembly of section \.text: .*[ ]+R_X86_64_PC8[ ]+xtrn\+0x0*1 .*[ ]+R_X86_64_PC32[ ]+xtrn-0x0*4 @@ -288,10 +288,10 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/reloc64.d .*[ ]+R_X86_64_PC8[ ]+xtrn-0x0*1 .*[ ]+R_X86_64_GOT64[ ]+xtrn .*[ ]+R_X86_64_GOT32[ ]+xtrn -Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-jump.d -=================================================================== ---- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-jump.d 2019-09-09 15:19:44.000000000 +0200 -+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-jump.d 2019-10-30 14:26:33.000000000 +0100 +diff --git a/gas/testsuite/gas/i386/x86-64-jump.d b/gas/testsuite/gas/i386/x86-64-jump.d +index 1a1521d278..b898d7d5eb 100644 +--- a/gas/testsuite/gas/i386/x86-64-jump.d ++++ b/gas/testsuite/gas/i386/x86-64-jump.d @@ -9,7 +9,7 @@ Disassembly of section .text: 0+ <.text>: @@ -310,44 +310,27 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-jump.d [ ]*[a-f0-9]+: ff 14 25 00 00 00 00 callq \*0x0 3d: R_X86_64_32S xxx [ ]*[a-f0-9]+: ff d7 callq \*%rdi [ ]*[a-f0-9]+: ff 17 callq \*\(%rdi\) -Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d -=================================================================== ---- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d 2019-09-09 15:19:44.000000000 +0200 -+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d 2019-10-30 14:26:33.000000000 +0100 -@@ -21,9 +21,9 @@ Disassembly of section .text: - [ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 24 +diff --git a/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d b/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d +index 03e9675217..9d2ec05b7e 100644 +--- a/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d ++++ b/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d +@@ -23,9 +23,9 @@ Disassembly of section .text: + [ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 34 - 0+24 : --[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 2a 26: R_X86_64_PLT32 foo-0x4 --[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 31 2d: R_X86_64_PLT32 foo-0x4 --[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 37 33: R_X86_64_PLT32 foo-0x4 -+[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 2a 26: R_X86_64_PC32 foo-0x4 -+[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 31 2d: R_X86_64_PC32 foo-0x4 -+[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 37 33: R_X86_64_PC32 foo-0x4 - [ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 3d 39: R_X86_64_PLT32 foo-0x4 - [ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 44 40: R_X86_64_PLT32 foo-0x4 - [ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 4a 46: R_X86_64_PLT32 foo-0x4 -Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-mpx-branch-2.d -=================================================================== ---- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-mpx-branch-2.d 2019-09-09 15:19:44.000000000 +0200 -+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-mpx-branch-2.d 2019-10-30 14:26:33.000000000 +0100 -@@ -21,9 +21,9 @@ Disassembly of section .text: - [ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 24 - - 0+24 : --[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 2a 26: R_X86_64_PLT32 foo-0x4 --[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 31 2d: R_X86_64_PLT32 foo-0x4 --[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 37 33: R_X86_64_PLT32 foo-0x4 -+[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 2a 26: R_X86_64_PC32 foo-0x4 -+[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 31 2d: R_X86_64_PC32 foo-0x4 -+[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 37 33: R_X86_64_PC32 foo-0x4 - [ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 3d 39: R_X86_64_PLT32 foo-0x4 - [ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 44 40: R_X86_64_PLT32 foo-0x4 - [ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 4a 46: R_X86_64_PLT32 foo-0x4 -Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-3.d -=================================================================== ---- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-nop-3.d 2019-09-09 15:19:44.000000000 +0200 -+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-3.d 2019-10-30 14:26:33.000000000 +0100 + 0+34 : +-[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 3a 36: R_X86_64_PLT32 foo-0x4 +-[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 41 3d: R_X86_64_PLT32 foo-0x4 +-[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 47 43: R_X86_64_PLT32 foo-0x4 ++[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 3a 36: R_X86_64_PC32 foo-0x4 ++[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 41 3d: R_X86_64_PC32 foo-0x4 ++[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 47 43: R_X86_64_PC32 foo-0x4 + [ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 4d 49: R_X86_64_PLT32 foo-0x4 + [ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 54 50: R_X86_64_PLT32 foo-0x4 + [ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 5a 56: R_X86_64_PLT32 foo-0x4 +diff --git a/gas/testsuite/gas/i386/x86-64-nop-3.d b/gas/testsuite/gas/i386/x86-64-nop-3.d +index 8514c4d077..617033a8ac 100644 +--- a/gas/testsuite/gas/i386/x86-64-nop-3.d ++++ b/gas/testsuite/gas/i386/x86-64-nop-3.d @@ -18,5 +18,5 @@ Disassembly of section .text: Disassembly of section .altinstr_replacement: @@ -355,32 +338,32 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-3.d - +[a-f0-9]+: e9 00 00 00 00 jmpq 5 <_start\+0x5> 1: R_X86_64_PLT32 foo-0x4 + +[a-f0-9]+: e9 00 00 00 00 jmpq 5 <_start\+0x5> 1: R_X86_64_PC32 foo-0x4 #pass -Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-4.d -=================================================================== ---- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-nop-4.d 2019-09-09 15:19:44.000000000 +0200 -+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-4.d 2019-10-30 14:26:33.000000000 +0100 -@@ -21,5 +21,5 @@ Disassembly of section .altinstr_replace +diff --git a/gas/testsuite/gas/i386/x86-64-nop-4.d b/gas/testsuite/gas/i386/x86-64-nop-4.d +index 7b696624cf..8610fc4303 100644 +--- a/gas/testsuite/gas/i386/x86-64-nop-4.d ++++ b/gas/testsuite/gas/i386/x86-64-nop-4.d +@@ -21,5 +21,5 @@ Disassembly of section .altinstr_replacement: +[a-f0-9]+: 89 c0 mov %eax,%eax +[a-f0-9]+: 89 c0 mov %eax,%eax +[a-f0-9]+: 89 c0 mov %eax,%eax - +[a-f0-9]+: e9 00 00 00 00 jmpq b <_start\+0xb> 7: R_X86_64_PLT32 foo-0x4 + +[a-f0-9]+: e9 00 00 00 00 jmpq b <_start\+0xb> 7: R_X86_64_PC32 foo-0x4 #pass -Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-5.d -=================================================================== ---- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-nop-5.d 2019-09-09 15:19:44.000000000 +0200 -+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-5.d 2019-10-30 14:26:33.000000000 +0100 -@@ -24,5 +24,5 @@ Disassembly of section .altinstr_replace +diff --git a/gas/testsuite/gas/i386/x86-64-nop-5.d b/gas/testsuite/gas/i386/x86-64-nop-5.d +index b0b7854f8a..333263bd93 100644 +--- a/gas/testsuite/gas/i386/x86-64-nop-5.d ++++ b/gas/testsuite/gas/i386/x86-64-nop-5.d +@@ -24,5 +24,5 @@ Disassembly of section .altinstr_replacement: +[a-f0-9]+: 89 c0 mov %eax,%eax +[a-f0-9]+: 89 c0 mov %eax,%eax +[a-f0-9]+: 89 c0 mov %eax,%eax - +[a-f0-9]+: e9 00 00 00 00 jmpq d <_start\+0xd> 9: R_X86_64_PLT32 foo-0x4 + +[a-f0-9]+: e9 00 00 00 00 jmpq d <_start\+0xd> 9: R_X86_64_PC32 foo-0x4 #pass -Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-2.d -=================================================================== ---- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-relax-2.d 2019-09-09 15:19:44.000000000 +0200 -+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-2.d 2019-10-30 14:26:33.000000000 +0100 +diff --git a/gas/testsuite/gas/i386/x86-64-relax-2.d b/gas/testsuite/gas/i386/x86-64-relax-2.d +index 8f432dff52..6c7651886f 100644 +--- a/gas/testsuite/gas/i386/x86-64-relax-2.d ++++ b/gas/testsuite/gas/i386/x86-64-relax-2.d @@ -11,12 +11,12 @@ Disassembly of section .text: 0+ : [ ]*[a-f0-9]+: eb 24 jmp 26 @@ -399,10 +382,10 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-2.d 0+22 : [ ]*[a-f0-9]+: c3 retq -Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-3.d -=================================================================== ---- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-relax-3.d 2019-09-09 15:19:44.000000000 +0200 -+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-3.d 2019-10-30 14:26:33.000000000 +0100 +diff --git a/gas/testsuite/gas/i386/x86-64-relax-3.d b/gas/testsuite/gas/i386/x86-64-relax-3.d +index bb60508145..f1ffdb89f6 100644 +--- a/gas/testsuite/gas/i386/x86-64-relax-3.d ++++ b/gas/testsuite/gas/i386/x86-64-relax-3.d @@ -12,10 +12,10 @@ Disassembly of section .text: [ ]*[a-f0-9]+: eb 1b jmp 1f [ ]*[a-f0-9]+: eb 1b jmp 21 @@ -418,28 +401,38 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-3.d 0+1f : [ ]*[a-f0-9]+: c3 retq -Index: binutils-2.33.1/ld/testsuite/ld-x86-64/mpx1c.rd -=================================================================== ---- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/mpx1c.rd 2019-09-09 15:19:45.000000000 +0200 -+++ binutils-2.33.1/ld/testsuite/ld-x86-64/mpx1c.rd 2019-10-30 14:26:33.000000000 +0100 +diff --git a/ld/testsuite/ld-x86-64/mpx1c.rd b/ld/testsuite/ld-x86-64/mpx1c.rd +index d66524c883..d3b292cbdc 100644 +--- a/ld/testsuite/ld-x86-64/mpx1c.rd ++++ b/ld/testsuite/ld-x86-64/mpx1c.rd @@ -1,3 +1,3 @@ #... -[0-9a-f ]+R_X86_64_PLT32 +0+ +.* +[0-9a-f ]+R_X86_64_PC32 +0+ +.* #... -Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-1a.c -=================================================================== ---- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-1a.c 2019-09-09 15:19:45.000000000 +0200 -+++ /dev/null 1970-01-01 00:00:00.000000000 +0000 +diff --git a/ld/testsuite/ld-x86-64/pr22791-1.err b/ld/testsuite/ld-x86-64/pr22791-1.err +deleted file mode 100644 +index 8c5565992e..0000000000 +--- a/ld/testsuite/ld-x86-64/pr22791-1.err ++++ /dev/null +@@ -1,2 +0,0 @@ +-.*relocation R_X86_64_PC32 against symbol `foo' can not be used when making a PIE object; recompile with -fPIE +-#... +diff --git a/ld/testsuite/ld-x86-64/pr22791-1a.c b/ld/testsuite/ld-x86-64/pr22791-1a.c +deleted file mode 100644 +index cd0130cacd..0000000000 +--- a/ld/testsuite/ld-x86-64/pr22791-1a.c ++++ /dev/null @@ -1,4 +0,0 @@ -void -foo (void) -{ -} -Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-1b.s -=================================================================== ---- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-1b.s 2019-09-09 15:19:45.000000000 +0200 -+++ /dev/null 1970-01-01 00:00:00.000000000 +0000 +diff --git a/ld/testsuite/ld-x86-64/pr22791-1b.s b/ld/testsuite/ld-x86-64/pr22791-1b.s +deleted file mode 100644 +index 9751db49aa..0000000000 +--- a/ld/testsuite/ld-x86-64/pr22791-1b.s ++++ /dev/null @@ -1,6 +0,0 @@ - .text - .globl main @@ -447,10 +440,11 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-1b.s -main: - movl foo(%rip), %eax - .size main, .-main -Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2.rd -=================================================================== ---- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-2.rd 2019-09-09 15:19:45.000000000 +0200 -+++ /dev/null 1970-01-01 00:00:00.000000000 +0000 +diff --git a/ld/testsuite/ld-x86-64/pr22791-2.rd b/ld/testsuite/ld-x86-64/pr22791-2.rd +deleted file mode 100644 +index 70deb30d84..0000000000 +--- a/ld/testsuite/ld-x86-64/pr22791-2.rd ++++ /dev/null @@ -1,6 +0,0 @@ -#failif -#... @@ -458,10 +452,11 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2.rd -#... -[0-9a-f ]+R_X86_64_NONE.* -#... -Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2a.s -=================================================================== ---- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-2a.s 2019-09-09 15:19:45.000000000 +0200 -+++ /dev/null 1970-01-01 00:00:00.000000000 +0000 +diff --git a/ld/testsuite/ld-x86-64/pr22791-2a.s b/ld/testsuite/ld-x86-64/pr22791-2a.s +deleted file mode 100644 +index 0a855024d7..0000000000 +--- a/ld/testsuite/ld-x86-64/pr22791-2a.s ++++ /dev/null @@ -1,8 +0,0 @@ - .text - .p2align 4,,15 @@ -471,10 +466,11 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2a.s - jmp bar - .size foo, .-foo - .section .note.GNU-stack,"",@progbits -Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2b.c -=================================================================== ---- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-2b.c 2019-09-09 15:19:45.000000000 +0200 -+++ /dev/null 1970-01-01 00:00:00.000000000 +0000 +diff --git a/ld/testsuite/ld-x86-64/pr22791-2b.c b/ld/testsuite/ld-x86-64/pr22791-2b.c +deleted file mode 100644 +index 79ef27c085..0000000000 +--- a/ld/testsuite/ld-x86-64/pr22791-2b.c ++++ /dev/null @@ -1,7 +0,0 @@ -#include - @@ -483,10 +479,11 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2b.c -{ - puts ("PASS"); -} -Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2c.s -=================================================================== ---- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-2c.s 2019-09-09 15:19:45.000000000 +0200 -+++ /dev/null 1970-01-01 00:00:00.000000000 +0000 +diff --git a/ld/testsuite/ld-x86-64/pr22791-2c.s b/ld/testsuite/ld-x86-64/pr22791-2c.s +deleted file mode 100644 +index 1460d1b828..0000000000 +--- a/ld/testsuite/ld-x86-64/pr22791-2c.s ++++ /dev/null @@ -1,12 +0,0 @@ - .text - .p2align 4,,15 @@ -500,10 +497,10 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2c.s - ret - .size main, .-main - .section .note.GNU-stack,"",@progbits -Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22842b.S -=================================================================== ---- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22842b.S 2019-09-09 15:19:45.000000000 +0200 -+++ binutils-2.33.1/ld/testsuite/ld-x86-64/pr22842b.S 2019-10-30 14:26:33.000000000 +0100 +diff --git a/ld/testsuite/ld-x86-64/pr22842b.S b/ld/testsuite/ld-x86-64/pr22842b.S +index f0659cd901..b9dd81345b 100644 +--- a/ld/testsuite/ld-x86-64/pr22842b.S ++++ b/ld/testsuite/ld-x86-64/pr22842b.S @@ -7,7 +7,7 @@ main: leaq bar(%rip), %rdi addq %rax, %rdi @@ -513,14 +510,15 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22842b.S xorl %eax, %eax popq %rcx retq -Index: binutils-2.33.1/ld/testsuite/ld-x86-64/x86-64.exp -=================================================================== ---- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/x86-64.exp 2019-09-09 15:19:45.000000000 +0200 -+++ binutils-2.33.1/ld/testsuite/ld-x86-64/x86-64.exp 2019-10-30 14:26:33.000000000 +0100 -@@ -1244,44 +1244,6 @@ if { [isnative] && [check_compiler_avail +diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp +index 88f75e0e43..c632fe932c 100644 +--- a/ld/testsuite/ld-x86-64/x86-64.exp ++++ b/ld/testsuite/ld-x86-64/x86-64.exp +@@ -1244,44 +1244,6 @@ if { [isnative] && [check_compiler_available] } { + {readelf -lW pr22393-3b.rd}} \ "pr22393-3-static" \ ] \ - [list \ +- [list \ - "Build pr22791-1.so" \ - "-shared" \ - "-fPIC -Wa,-mx86-used-note=yes" \ @@ -558,14 +556,14 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/x86-64.exp - {{readelf -drW pr22791-2.rd}} \ - "pr22791-2" \ - ] \ -- [list \ + [list \ "Build pr22842.so" \ "-shared" \ - "-fPIC -Wa,-mx86-used-note=yes" \ -@@ -1624,15 +1586,6 @@ if { [isnative] && [check_compiler_avail +@@ -1624,15 +1586,6 @@ if { [isnative] && [check_compiler_available] } { + "pr22393-3-static" \ "pass.out" \ ] \ - [list \ +- [list \ - "Run pr22791-2" \ - "-pie -Wl,--no-as-needed tmpdir/pr22791-2.so" \ - "-Wa,-mx86-used-note=yes" \ @@ -574,14 +572,8 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/x86-64.exp - "pass.out" \ - "$NOPIE_CFLAGS" \ - ] \ -- [list \ + [list \ "Run pr22842" \ "-pie -Wl,--no-as-needed tmpdir/pr22842.so" \ - "-Wa,-mx86-used-note=yes" \ -Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-1.err -=================================================================== ---- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-1.err 2019-09-09 15:19:45.000000000 +0200 -+++ /dev/null 1970-01-01 00:00:00.000000000 +0000 -@@ -1,2 +0,0 @@ --.*relocation R_X86_64_PC32 against symbol `foo' can not be used when making a PIE object; recompile with -fPIE --#... +-- +2.25.0 diff --git a/binutils-skip-rpaths.patch b/binutils-skip-rpaths.patch index c57c20f..fc74541 100644 --- a/binutils-skip-rpaths.patch +++ b/binutils-skip-rpaths.patch @@ -1,17 +1,26 @@ -diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em -index f4f7ad6b4e..7b0f86031a 100644 ---- ld/emultempl/elf32.em -+++ ld/emultempl/elf32.em -@@ -1638,8 +1638,35 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" != xgld"$EMULATION_NAME"_before_allocation; - else - ELF_INTERPRETER_SET_DEFAULT= +diff --git a/ld/emultempl/elf.em b/ld/emultempl/elf.em +index 42c552b36e..dd0a6b1e60 100644 +--- a/ld/emultempl/elf.em ++++ b/ld/emultempl/elf.em +@@ -135,6 +135,8 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" != xgld"$EMULATION_NAME"_before_allocation; + if test x"${ELF_INTERPRETER_NAME}" = x; then + ELF_INTERPRETER_NAME=NULL fi + + libpath_nl=`echo ${NATIVE_LIB_DIRS// /\\\n}` fragment < + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/binutils.spec b/binutils.spec index c5c9c23..c903929 100644 --- a/binutils.spec +++ b/binutils.spec @@ -33,7 +33,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -81,7 +81,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -139,6 +139,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -154,7 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -182,11 +199,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -346,9 +361,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -457,6 +469,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -472,6 +487,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -510,6 +528,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index ef9afd4..f779b8d 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index cbbd284..3971d19 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 8c00af8..fa7df40 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-avr-size.patch b/cross-avr-size.patch index aecd302..8d63750 100644 --- a/cross-avr-size.patch +++ b/cross-avr-size.patch @@ -370,17 +370,17 @@ index 479a464887..971156ccbe 100644 + } + + if ((section = bfd_get_section_by_name (file, ".data")) != NULL) -+ datasize = bfd_section_size (file, section); ++ datasize = bfd_section_size (section); + if ((section = bfd_get_section_by_name (file, ".text")) != NULL) -+ textsize = bfd_section_size (file, section); ++ textsize = bfd_section_size (section); + if ((section = bfd_get_section_by_name (file, ".bss")) != NULL) -+ bsssize = bfd_section_size (file, section); ++ bsssize = bfd_section_size (section); + if ((section = bfd_get_section_by_name (file, ".bootloader")) != NULL) -+ bootloadersize = bfd_section_size (file, section); ++ bootloadersize = bfd_section_size (section); + if ((section = bfd_get_section_by_name (file, ".noinit")) != NULL) -+ noinitsize = bfd_section_size (file, section); ++ noinitsize = bfd_section_size (section); + if ((section = bfd_get_section_by_name (file, ".eeprom")) != NULL) -+ eepromsize = bfd_section_size (file, section); ++ eepromsize = bfd_section_size (section); + + bfd_size_type text = textsize + datasize + bootloadersize; + bfd_size_type data = datasize + bsssize + noinitsize; diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index f4efd43..c734229 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 6b0f695..3352d1f 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index f8d687c..77a5a9d 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 6112e0c..d069920 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index d8eea51..d1f27ba 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 7bed133..047d2ef 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 4cff298..e037b3a 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 58624a1..9865538 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 797ea0f..cc0e904 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index 8cbdf61..a56eb9f 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index a70d9a4..7d60701 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index 230e34a..ee1372e 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 3b08f44..609aa9a 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 102f4d3..5912012 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index ebb2100..1758a4e 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 560ac76..78f2335 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 45124f9..a8dc80a 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 48a29b8..f6c9fff 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog diff --git a/cross-xtensa-binutils.changes b/cross-xtensa-binutils.changes index e0a087b..b8a1501 100644 --- a/cross-xtensa-binutils.changes +++ b/cross-xtensa-binutils.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Feb 1 17:46:57 UTC 2020 - Martin Liška + +- Update to binutils 2.34: + * The disassembler (objdump --disassemble) now has an option to + generate ascii art thats show the arcs between that start and end + points of control flow instructions. + + * The binutils tools now have support for debuginfod. Debuginfod is a + HTTP service for distributing ELF/DWARF debugging information as + well as source code. The tools can now connect to debuginfod + servers in order to download debug information about the files that + they are processing. + + * The assembler and linker now support the generation of ELF format + files for the Z80 architecture. +- Rename and get binutils-2.34-branch.diff.gz (boo#1160254). +- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, + cross-avr-size.patch and binutils-skip-rpaths.patch. +- Add new subpackages for libctf and libctf-nobfd. +- Disable LTO due to boo#1163333. +- Includes fixes for these CVEs: + bnc#1153768 aka CVE-2019-17451 aka PR25070 + bnc#1153770 aka CVE-2019-17450 aka PR25078 + ------------------------------------------------------------------- Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab diff --git a/cross-xtensa-binutils.spec b/cross-xtensa-binutils.spec index 1184b25..080e2f6 100644 --- a/cross-xtensa-binutils.spec +++ b/cross-xtensa-binutils.spec @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.33.1 +Version: 2.34 Release: 0 # # RUN_TESTS @@ -84,7 +84,7 @@ Source5: binutils.keyring Source1: pre_checkin.sh Source2: README.First-for.SUSE.packagers Source3: baselibs.conf -Patch1: binutils-2.33-branch.diff.gz +Patch1: binutils-2.34-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to build programs which use the GNU BFD library, which is part of binutils. +%package -n libctf0 +Summary: Compact C Type Format library (runtime, BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf0 +This package includes the libctf shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program + +%package -n libctf-nobfd0 +Summary: Compact C Type Format library (runtime, no BFD dependency) +License: GFDL-1.3-only AND GPL-3.0-or-later +Group: Development/Tools/Building + +%description -n libctf-nobfd0 +This package includes the libctf-nobfd shared library. +The Compact C Type Format (CTF) is a way of representing information about a binary program %ifarch %arm %define HOST %{_target_cpu}-suse-linux-gnueabi @@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa # patch bringing the tarball to the newest upstream version %patch1 -p1 %if !%{test_vanilla} -%patch3 +%patch3 -p1 %patch4 %patch5 %patch6 @@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %endif %build +%define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" -%if 0%{suse_version} > 1110 -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" -%endif %if 0%{!?cross:1} # Building native binutils @@ -349,9 +364,6 @@ cd build-dir %if 0%{?cross:1} make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -%if "%{?_lto_cflags}" != "" -RPM_OPT_FLAGS+=" -fno-lto" -%endif make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif @@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.gold" 1 +%post -n libctf0 -p /sbin/ldconfig +%post -n libctf-nobfd0 -p /sbin/ldconfig + %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz @@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun -n libctf0 -p /sbin/ldconfig +%postun -n libctf-nobfd0 -p /sbin/ldconfig + %postun /sbin/ldconfig %endif @@ -513,6 +531,14 @@ fi; %defattr(-,root,root) %{_prefix}/include/*.h %{_libdir}/lib*.*a +%{_libdir}/libctf.so +%{_libdir}/libctf-nobfd.so + +%files -n libctf0 +%{_libdir}/libctf.so.* + +%files -n libctf-nobfd0 +%{_libdir}/libctf-nobfd.so.* %endif %changelog From 39ae550e7740326b9db49bf12c5002a5c215322a0a21d114359d1ad6c9701cc1 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Tue, 18 Feb 2020 13:21:10 +0000 Subject: [PATCH 2/6] Accepting request 775181 from home:marxin:branches:devel:gcc - Add fix-try_load_plugin.patch in order to fix fallback caused by backport for PR25355. The patch will be removed once the fix will reach 2.34 release branch. OBS-URL: https://build.opensuse.org/request/show/775181 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=332 --- binutils.changes | 6 ++ binutils.spec | 2 + cross-aarch64-binutils.changes | 6 ++ cross-aarch64-binutils.spec | 2 + cross-arm-binutils.changes | 6 ++ cross-arm-binutils.spec | 2 + cross-avr-binutils.changes | 6 ++ cross-avr-binutils.spec | 2 + cross-epiphany-binutils.changes | 6 ++ cross-epiphany-binutils.spec | 2 + cross-hppa-binutils.changes | 6 ++ cross-hppa-binutils.spec | 2 + cross-hppa64-binutils.changes | 6 ++ cross-hppa64-binutils.spec | 2 + cross-i386-binutils.changes | 6 ++ cross-i386-binutils.spec | 2 + cross-ia64-binutils.changes | 6 ++ cross-ia64-binutils.spec | 2 + cross-m68k-binutils.changes | 6 ++ cross-m68k-binutils.spec | 2 + cross-mips-binutils.changes | 6 ++ cross-mips-binutils.spec | 2 + cross-ppc-binutils.changes | 6 ++ cross-ppc-binutils.spec | 2 + cross-ppc64-binutils.changes | 6 ++ cross-ppc64-binutils.spec | 2 + cross-ppc64le-binutils.changes | 6 ++ cross-ppc64le-binutils.spec | 2 + cross-riscv64-binutils.changes | 6 ++ cross-riscv64-binutils.spec | 2 + cross-rx-binutils.changes | 6 ++ cross-rx-binutils.spec | 2 + cross-s390-binutils.changes | 6 ++ cross-s390-binutils.spec | 2 + cross-s390x-binutils.changes | 6 ++ cross-s390x-binutils.spec | 2 + cross-sparc-binutils.changes | 6 ++ cross-sparc-binutils.spec | 2 + cross-sparc64-binutils.changes | 6 ++ cross-sparc64-binutils.spec | 2 + cross-spu-binutils.changes | 6 ++ cross-spu-binutils.spec | 2 + cross-x86_64-binutils.changes | 6 ++ cross-x86_64-binutils.spec | 2 + cross-xtensa-binutils.changes | 6 ++ cross-xtensa-binutils.spec | 2 + fix-try_load_plugin.patch | 127 ++++++++++++++++++++++++++++++++ 47 files changed, 311 insertions(+) create mode 100644 fix-try_load_plugin.patch diff --git a/binutils.changes b/binutils.changes index b8a1501..f9e01bf 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/binutils.spec b/binutils.spec index c903929..e52615e 100644 --- a/binutils.spec +++ b/binutils.spec @@ -96,6 +96,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -187,6 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index f779b8d..835ad1c 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 3971d19..3d6f313 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index fa7df40..f5faaec 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index c734229..9f970db 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 3352d1f..80d7e17 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 77a5a9d..9a8bac3 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index d069920..cbbfe0c 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index d1f27ba..7ecdd4c 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 047d2ef..3574340 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index e037b3a..8756e89 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 9865538..d392c58 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index cc0e904..f0a5c6b 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index a56eb9f..b202fc2 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index 7d60701..e1a2de2 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index ee1372e..e94d6d6 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 609aa9a..e009915 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 5912012..6248f9b 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 1758a4e..5b8ddf1 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 78f2335..f373e88 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index a8dc80a..44496a3 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index f6c9fff..f3aa8c0 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-xtensa-binutils.changes b/cross-xtensa-binutils.changes index b8a1501..f9e01bf 100644 --- a/cross-xtensa-binutils.changes +++ b/cross-xtensa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 18 12:48:26 UTC 2020 - Martin Liška + +- Add fix-try_load_plugin.patch in order to fix fallback caused + by backport for PR25355. + ------------------------------------------------------------------- Sat Feb 1 17:46:57 UTC 2020 - Martin Liška diff --git a/cross-xtensa-binutils.spec b/cross-xtensa-binutils.spec index 080e2f6..e0b06be 100644 --- a/cross-xtensa-binutils.spec +++ b/cross-xtensa-binutils.spec @@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff +Patch39: fix-try_load_plugin.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 +%patch39 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/fix-try_load_plugin.patch b/fix-try_load_plugin.patch new file mode 100644 index 0000000..bb6c150 --- /dev/null +++ b/fix-try_load_plugin.patch @@ -0,0 +1,127 @@ +From e5310c1cd5735c5dc29988583871be8c59c11cea Mon Sep 17 00:00:00 2001 +From: "H.J. Lu" +Date: Tue, 18 Feb 2020 04:22:34 -0800 +Subject: [PATCH] plugin: Call dlclose before return in try_load_plugin + +Since plugin can be used only once in try_load_plugin, call dlclose +before return. + + PR binutils/25355 + * plugin.c (plugin_list_entry): Remove handle. + (try_load_plugin): Call dlclose before return. +--- + bfd/plugin.c | 43 ++++++++++++++++++------------------------- + 1 file changed, 18 insertions(+), 25 deletions(-) + +diff --git a/bfd/plugin.c b/bfd/plugin.c +index 47c3439042c..84b96a20733 100644 +--- a/bfd/plugin.c ++++ b/bfd/plugin.c +@@ -126,7 +126,6 @@ message (int level ATTRIBUTE_UNUSED, + struct plugin_list_entry + { + /* These must be initialized for each IR object with LTO wrapper. */ +- void *handle; + ld_plugin_claim_file_handler claim_file; + ld_plugin_all_symbols_read_handler all_symbols_read; + ld_plugin_all_symbols_read_handler cleanup_handler; +@@ -596,22 +595,12 @@ try_load_plugin (const char *pname, + struct plugin_list_entry *plugin_list_iter, + bfd *abfd, bfd_boolean build_list_p) + { +- void *plugin_handle = NULL; ++ void *plugin_handle; + struct ld_plugin_tv tv[12]; + int i; + ld_plugin_onload onload; + enum ld_plugin_status status; +- +- /* NB: Each object is independent. Reuse the previous plugin from +- the last run will lead to wrong result. */ +- if (current_plugin) +- { +- if (current_plugin->handle) +- dlclose (current_plugin->handle); +- memset (current_plugin, 0, +- offsetof (struct plugin_list_entry, next)); +- current_plugin = NULL; +- } ++ int result = 0; + + if (plugin_list_iter) + pname = plugin_list_iter->plugin_name; +@@ -628,12 +617,12 @@ try_load_plugin (const char *pname, + size_t length_plugin_name = strlen (pname) + 1; + char *plugin_name = bfd_malloc (length_plugin_name); + if (plugin_name == NULL) +- return 0; ++ goto short_circuit; + plugin_list_iter = bfd_malloc (sizeof *plugin_list_iter); + if (plugin_list_iter == NULL) + { + free (plugin_name); +- return 0; ++ goto short_circuit; + } + /* Make a copy of PNAME since PNAME from load_plugin () will be + freed. */ +@@ -644,13 +633,13 @@ try_load_plugin (const char *pname, + plugin_list = plugin_list_iter; + } + +- plugin_list_iter->handle = plugin_handle; ++ current_plugin = plugin_list_iter; + if (build_list_p) +- return 0; ++ goto short_circuit; + + onload = dlsym (plugin_handle, "onload"); + if (!onload) +- return 0; ++ goto short_circuit; + + i = 0; + tv[i].tv_tag = LDPT_MESSAGE; +@@ -703,28 +692,32 @@ try_load_plugin (const char *pname, + tv[i].tv_tag = LDPT_NULL; + tv[i].tv_u.tv_val = 0; + +- current_plugin = plugin_list_iter; +- + /* LTO plugin will call handler hooks to set up plugin handlers. */ + status = (*onload)(tv); + + if (status != LDPS_OK) +- return 0; ++ goto short_circuit; + + if (current_plugin->lto_wrapper + && setup_lto_wrapper_env (current_plugin)) +- return 0; ++ goto short_circuit; + + abfd->plugin_format = bfd_plugin_no; + + if (!current_plugin->claim_file) +- return 0; ++ goto short_circuit; + + if (!try_claim (abfd)) +- return 0; ++ goto short_circuit; + + abfd->plugin_format = bfd_plugin_yes; +- return 1; ++ result = 1; ++ ++short_circuit: ++ /* NB: Each object is independent. Reuse the previous plugin from ++ the last run will lead to wrong result. */ ++ dlclose (plugin_handle); ++ return result; + } + + /* There may be plugin libraries in lib/bfd-plugins. */ +-- +2.24.1 + From 769c7a80d0bd1342f24439e3b5af0b44c4f9398c377797245f220bdbd37f11e8 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Wed, 19 Feb 2020 13:03:33 +0000 Subject: [PATCH 3/6] Accepting request 775267 from home:marxin:branches:devel:gcc - Update fix-try_load_plugin.patch to latest version. Patch version: https://sourceware.org/bugzilla/show_bug.cgi?id=25355#c55 OBS-URL: https://build.opensuse.org/request/show/775267 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=333 --- binutils.changes | 5 +++++ cross-aarch64-binutils.changes | 5 +++++ cross-arm-binutils.changes | 5 +++++ cross-avr-binutils.changes | 5 +++++ cross-epiphany-binutils.changes | 5 +++++ cross-hppa-binutils.changes | 5 +++++ cross-hppa64-binutils.changes | 5 +++++ cross-i386-binutils.changes | 5 +++++ cross-ia64-binutils.changes | 5 +++++ cross-m68k-binutils.changes | 5 +++++ cross-mips-binutils.changes | 5 +++++ cross-ppc-binutils.changes | 5 +++++ cross-ppc64-binutils.changes | 5 +++++ cross-ppc64le-binutils.changes | 5 +++++ cross-riscv64-binutils.changes | 5 +++++ cross-rx-binutils.changes | 5 +++++ cross-s390-binutils.changes | 5 +++++ cross-s390x-binutils.changes | 5 +++++ cross-sparc-binutils.changes | 5 +++++ cross-sparc64-binutils.changes | 5 +++++ cross-spu-binutils.changes | 5 +++++ cross-x86_64-binutils.changes | 5 +++++ cross-xtensa-binutils.changes | 5 +++++ fix-try_load_plugin.patch | 30 +++++++++++++++--------------- 24 files changed, 130 insertions(+), 15 deletions(-) diff --git a/binutils.changes b/binutils.changes index f9e01bf..8e2c7fa 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/cross-xtensa-binutils.changes b/cross-xtensa-binutils.changes index f9e01bf..8e2c7fa 100644 --- a/cross-xtensa-binutils.changes +++ b/cross-xtensa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:12:52 UTC 2020 - Martin Liška + +- Update fix-try_load_plugin.patch to latest version. + ------------------------------------------------------------------- Tue Feb 18 12:48:26 UTC 2020 - Martin Liška diff --git a/fix-try_load_plugin.patch b/fix-try_load_plugin.patch index bb6c150..c363d41 100644 --- a/fix-try_load_plugin.patch +++ b/fix-try_load_plugin.patch @@ -1,4 +1,4 @@ -From e5310c1cd5735c5dc29988583871be8c59c11cea Mon Sep 17 00:00:00 2001 +From d9d92bacb7adb4bab0c26eb7458203345a0faf13 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 18 Feb 2020 04:22:34 -0800 Subject: [PATCH] plugin: Call dlclose before return in try_load_plugin @@ -10,11 +10,11 @@ before return. * plugin.c (plugin_list_entry): Remove handle. (try_load_plugin): Call dlclose before return. --- - bfd/plugin.c | 43 ++++++++++++++++++------------------------- - 1 file changed, 18 insertions(+), 25 deletions(-) + bfd/plugin.c | 39 ++++++++++++++++++--------------------- + 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/bfd/plugin.c b/bfd/plugin.c -index 47c3439042c..84b96a20733 100644 +index 47c3439042..93d562b9fe 100644 --- a/bfd/plugin.c +++ b/bfd/plugin.c @@ -126,7 +126,6 @@ message (int level ATTRIBUTE_UNUSED, @@ -25,7 +25,7 @@ index 47c3439042c..84b96a20733 100644 ld_plugin_claim_file_handler claim_file; ld_plugin_all_symbols_read_handler all_symbols_read; ld_plugin_all_symbols_read_handler cleanup_handler; -@@ -596,22 +595,12 @@ try_load_plugin (const char *pname, +@@ -596,22 +595,18 @@ try_load_plugin (const char *pname, struct plugin_list_entry *plugin_list_iter, bfd *abfd, bfd_boolean build_list_p) { @@ -35,10 +35,11 @@ index 47c3439042c..84b96a20733 100644 int i; ld_plugin_onload onload; enum ld_plugin_status status; -- -- /* NB: Each object is independent. Reuse the previous plugin from -- the last run will lead to wrong result. */ -- if (current_plugin) ++ int result = 0; + + /* NB: Each object is independent. Reuse the previous plugin from + the last run will lead to wrong result. */ + if (current_plugin) - { - if (current_plugin->handle) - dlclose (current_plugin->handle); @@ -46,11 +47,12 @@ index 47c3439042c..84b96a20733 100644 - offsetof (struct plugin_list_entry, next)); - current_plugin = NULL; - } -+ int result = 0; ++ memset (current_plugin, 0, ++ offsetof (struct plugin_list_entry, next)); if (plugin_list_iter) pname = plugin_list_iter->plugin_name; -@@ -628,12 +617,12 @@ try_load_plugin (const char *pname, +@@ -628,12 +623,12 @@ try_load_plugin (const char *pname, size_t length_plugin_name = strlen (pname) + 1; char *plugin_name = bfd_malloc (length_plugin_name); if (plugin_name == NULL) @@ -65,7 +67,7 @@ index 47c3439042c..84b96a20733 100644 } /* Make a copy of PNAME since PNAME from load_plugin () will be freed. */ -@@ -644,13 +633,13 @@ try_load_plugin (const char *pname, +@@ -644,13 +639,13 @@ try_load_plugin (const char *pname, plugin_list = plugin_list_iter; } @@ -82,7 +84,7 @@ index 47c3439042c..84b96a20733 100644 i = 0; tv[i].tv_tag = LDPT_MESSAGE; -@@ -703,28 +692,32 @@ try_load_plugin (const char *pname, +@@ -703,28 +698,30 @@ try_load_plugin (const char *pname, tv[i].tv_tag = LDPT_NULL; tv[i].tv_u.tv_val = 0; @@ -115,8 +117,6 @@ index 47c3439042c..84b96a20733 100644 + result = 1; + +short_circuit: -+ /* NB: Each object is independent. Reuse the previous plugin from -+ the last run will lead to wrong result. */ + dlclose (plugin_handle); + return result; } From 7e7f54a04c67500abe285fe0cb3946844aff6dbf8f2d3d65f48d90f263932866 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 26 Feb 2020 08:40:00 +0000 Subject: [PATCH 4/6] - Add binutils-pr25593.diff to fix DT_NEEDED order with -flto [bsc#1163744] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=334 --- binutils-pr25593.diff | 342 ++++++++++++++++++++++++++++++++ binutils.changes | 6 + binutils.spec | 2 + cross-aarch64-binutils.changes | 6 + cross-aarch64-binutils.spec | 2 + cross-arm-binutils.changes | 6 + cross-arm-binutils.spec | 2 + cross-avr-binutils.changes | 6 + cross-avr-binutils.spec | 2 + cross-epiphany-binutils.changes | 6 + cross-epiphany-binutils.spec | 2 + cross-hppa-binutils.changes | 6 + cross-hppa-binutils.spec | 2 + cross-hppa64-binutils.changes | 6 + cross-hppa64-binutils.spec | 2 + cross-i386-binutils.changes | 6 + cross-i386-binutils.spec | 2 + cross-ia64-binutils.changes | 6 + cross-ia64-binutils.spec | 2 + cross-m68k-binutils.changes | 6 + cross-m68k-binutils.spec | 2 + cross-mips-binutils.changes | 6 + cross-mips-binutils.spec | 2 + cross-ppc-binutils.changes | 6 + cross-ppc-binutils.spec | 2 + cross-ppc64-binutils.changes | 6 + cross-ppc64-binutils.spec | 2 + cross-ppc64le-binutils.changes | 6 + cross-ppc64le-binutils.spec | 2 + cross-riscv64-binutils.changes | 6 + cross-riscv64-binutils.spec | 2 + cross-rx-binutils.changes | 6 + cross-rx-binutils.spec | 2 + cross-s390-binutils.changes | 6 + cross-s390-binutils.spec | 2 + cross-s390x-binutils.changes | 6 + cross-s390x-binutils.spec | 2 + cross-sparc-binutils.changes | 6 + cross-sparc-binutils.spec | 2 + cross-sparc64-binutils.changes | 6 + cross-sparc64-binutils.spec | 2 + cross-spu-binutils.changes | 6 + cross-spu-binutils.spec | 2 + cross-x86_64-binutils.changes | 6 + cross-x86_64-binutils.spec | 2 + cross-xtensa-binutils.changes | 6 + cross-xtensa-binutils.spec | 2 + 47 files changed, 526 insertions(+) create mode 100644 binutils-pr25593.diff diff --git a/binutils-pr25593.diff b/binutils-pr25593.diff new file mode 100644 index 0000000..e4b2f9c --- /dev/null +++ b/binutils-pr25593.diff @@ -0,0 +1,342 @@ +commit e310298cf3fc02112ac0018260748828affa4061 +Author: Alan Modra +Date: Tue Feb 25 12:50:10 2020 +1030 + + PR25593, --as-needed breaks DT_NEEDED order with linker plugin + + This patch delays setting up DT_NEEDED dynamic tags until all object + files and libraries have been opened and their symbols processed, + rather than adding the tags while processing symbols. Tags are + ordered according to the position of the associated library on the + command line and linker scripts. It is still possible with + --as-needed libs that are mentioned more than once for tags to be + ordered according to which mention was needed. For example with + "--as-needed a.so b.so c.so b.so" when b.so is not needed by a.so or + any other prior object file but is needed by c.so, the order of tags + will be "A C B". + + bfd/ + PR 25593 + * elf-bfd.h (struct elf_link_hash_table): Rename "loaded" to + "dyn_loaded". + (bfd_elf_add_dt_needed_tag): Declare. + * elf-strtab.c (_bfd_elf_strtab_restore): Handle NULL buf. + * elflink.c (bfd_elf_add_dt_needed_tag): Make global and rename + from elf_add_dt_needed_tag. Remove soname and doit param. + (elf_link_add_object_symbols): Don't use elf_add_dt_needed_tag + to see whether as-needed lib is already loaded, use dyn_loaded + list instead. When saving and restoring around as-needed lib + handle possibility that dynstr has not been initialised. Don't + add DT_NEEDED tags here. Limit dyn_loaded list to dynamic libs. + Mark libs loaded via DT_NEEDED entries of other libs with + DYN_NO_NEEDED if they should not be mentioned in DT_NEEDED of + the output. + (elf_link_check_versioned_symbol): Remove now unneccesary + DYNAMIC check when traversing dyn_loaded list. + ld/ + PR 25593 + * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds. + (ldelf_after_open): Save state of input_bfds list before loading + DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags. + Restore input_bfds list. + * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order. + +diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h +index 7d36e23ea1..b930761363 100644 +--- a/bfd/elf-bfd.h ++++ b/bfd/elf-bfd.h +@@ -637,8 +637,8 @@ struct elf_link_hash_table + asection *tls_sec; + bfd_size_type tls_size; + +- /* A linked list of BFD's loaded in the link. */ +- struct elf_link_loaded_list *loaded; ++ /* A linked list of dynamic BFD's loaded in the link. */ ++ struct elf_link_loaded_list *dyn_loaded; + + /* Short-cuts to get to dynamic linker sections. */ + asection *sgot; +@@ -2510,6 +2510,8 @@ extern bfd_boolean bfd_elf_link_add_symbols + (bfd *, struct bfd_link_info *); + extern bfd_boolean _bfd_elf_add_dynamic_entry + (struct bfd_link_info *, bfd_vma, bfd_vma); ++extern int bfd_elf_add_dt_needed_tag ++ (bfd *, struct bfd_link_info *); + extern bfd_boolean _bfd_elf_link_check_relocs + (bfd *, struct bfd_link_info *); + +diff --git a/bfd/elf-strtab.c b/bfd/elf-strtab.c +index d3e50c76cf..c397180dcc 100644 +--- a/bfd/elf-strtab.c ++++ b/bfd/elf-strtab.c +@@ -245,13 +245,16 @@ _bfd_elf_strtab_save (struct elf_strtab_hash *tab) + void + _bfd_elf_strtab_restore (struct elf_strtab_hash *tab, void *buf) + { +- size_t idx, curr_size = tab->size; ++ size_t idx, curr_size = tab->size, save_size; + struct strtab_save *save = (struct strtab_save *) buf; + + BFD_ASSERT (tab->sec_size == 0); +- BFD_ASSERT (save->size <= curr_size); +- tab->size = save->size; +- for (idx = 1; idx < save->size; ++idx) ++ save_size = 1; ++ if (save != NULL) ++ save_size = save->size; ++ BFD_ASSERT (save_size <= curr_size); ++ tab->size = save_size; ++ for (idx = 1; idx < save_size; ++idx) + tab->array[idx]->refcount = save->refcount[idx]; + + for (; idx < curr_size; ++idx) +diff --git a/bfd/elflink.c b/bfd/elflink.c +index 8e7ae2a160..6f03c5c09f 100644 +--- a/bfd/elflink.c ++++ b/bfd/elflink.c +@@ -3501,23 +3501,21 @@ _bfd_elf_add_dynamic_entry (struct bfd_link_info *info, + return TRUE; + } + +-/* Add a DT_NEEDED entry for this dynamic object if DO_IT is true, +- otherwise just check whether one already exists. Returns -1 on error, ++/* Add a DT_NEEDED entry for this dynamic object. Returns -1 on error, + 1 if a DT_NEEDED tag already exists, and 0 on success. */ + +-static int +-elf_add_dt_needed_tag (bfd *abfd, +- struct bfd_link_info *info, +- const char *soname, +- bfd_boolean do_it) ++int ++bfd_elf_add_dt_needed_tag (bfd *abfd, struct bfd_link_info *info) + { + struct elf_link_hash_table *hash_table; + size_t strindex; ++ const char *soname; + + if (!_bfd_elf_link_create_dynstrtab (abfd, info)) + return -1; + + hash_table = elf_hash_table (info); ++ soname = elf_dt_name (abfd); + strindex = _bfd_elf_strtab_add (hash_table->dynstr, soname, FALSE); + if (strindex == (size_t) -1) + return -1; +@@ -3547,17 +3545,11 @@ elf_add_dt_needed_tag (bfd *abfd, + } + } + +- if (do_it) +- { +- if (!_bfd_elf_link_create_dynamic_sections (hash_table->dynobj, info)) +- return -1; ++ if (!_bfd_elf_link_create_dynamic_sections (hash_table->dynobj, info)) ++ return -1; + +- if (!_bfd_elf_add_dynamic_entry (info, DT_NEEDED, strindex)) +- return -1; +- } +- else +- /* We were just checking for existence of the tag. */ +- _bfd_elf_strtab_delref (hash_table->dynstr, strindex); ++ if (!_bfd_elf_add_dynamic_entry (info, DT_NEEDED, strindex)) ++ return -1; + + return 0; + } +@@ -4069,7 +4061,7 @@ elf_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info) + char *audit = NULL; + struct bfd_link_needed_list *rpath = NULL, *runpath = NULL; + const Elf_Internal_Phdr *phdr; +- int ret; ++ struct elf_link_loaded_list *loaded_lib; + + /* ld --just-symbols and dynamic objects don't mix very well. + ld shouldn't allow it. */ +@@ -4258,15 +4250,22 @@ error_free_dyn: + will need to know it. */ + elf_dt_name (abfd) = soname; + +- ret = elf_add_dt_needed_tag (abfd, info, soname, add_needed); +- if (ret < 0) +- goto error_return; +- + /* If we have already included this dynamic object in the + link, just ignore it. There is no reason to include a + particular dynamic object more than once. */ +- if (ret > 0) +- return TRUE; ++ for (loaded_lib = htab->dyn_loaded; ++ loaded_lib != NULL; ++ loaded_lib = loaded_lib->next) ++ { ++ if (strcmp (elf_dt_name (loaded_lib->abfd), soname) == 0) ++ return TRUE; ++ } ++ ++ /* Create dynamic sections for backends that require that be done ++ before setup_gnu_properties. */ ++ if (add_needed ++ && !_bfd_elf_link_create_dynamic_sections (abfd, info)) ++ return FALSE; + + /* Save the DT_AUDIT entry for the linker emulation code. */ + elf_dt_audit (abfd) = audit; +@@ -4389,9 +4388,13 @@ error_free_dyn: + old_table = htab->root.table.table; + old_size = htab->root.table.size; + old_count = htab->root.table.count; +- old_strtab = _bfd_elf_strtab_save (htab->dynstr); +- if (old_strtab == NULL) +- goto error_free_vers; ++ old_strtab = NULL; ++ if (htab->dynstr != NULL) ++ { ++ old_strtab = _bfd_elf_strtab_save (htab->dynstr); ++ if (old_strtab == NULL) ++ goto error_free_vers; ++ } + + for (i = 0; i < htab->root.table.size; i++) + { +@@ -5102,7 +5105,6 @@ error_free_dyn: + && !on_needed_list (elf_dt_name (abfd), + htab->needed, NULL)))) + { +- int ret; + const char *soname = elf_dt_name (abfd); + + info->callbacks->minfo ("%!", soname, old_bfd, +@@ -5127,12 +5129,11 @@ error_free_dyn: + elf_dyn_lib_class (abfd) = (enum dynamic_lib_link_class) + (elf_dyn_lib_class (abfd) & ~DYN_AS_NEEDED); + ++ /* Create dynamic sections for backends that require ++ that be done before setup_gnu_properties. */ ++ if (!_bfd_elf_link_create_dynamic_sections (abfd, info)) ++ return FALSE; + add_needed = TRUE; +- ret = elf_add_dt_needed_tag (abfd, info, soname, add_needed); +- if (ret < 0) +- goto error_free_vers; +- +- BFD_ASSERT (ret == 0); + } + } + } +@@ -5222,7 +5223,8 @@ error_free_dyn: + memcpy (htab->root.table.table, old_tab, tabsize); + htab->root.undefs = old_undefs; + htab->root.undefs_tail = old_undefs_tail; +- _bfd_elf_strtab_restore (htab->dynstr, old_strtab); ++ if (htab->dynstr != NULL) ++ _bfd_elf_strtab_restore (htab->dynstr, old_strtab); + free (old_strtab); + old_strtab = NULL; + for (i = 0; i < htab->root.table.size; i++) +@@ -5550,7 +5552,7 @@ error_free_dyn: + } + } + +- if (is_elf_hash_table (htab) && add_needed) ++ if (dynamic && add_needed) + { + /* Add this bfd to the loaded list. */ + struct elf_link_loaded_list *n; +@@ -5559,9 +5561,12 @@ error_free_dyn: + if (n == NULL) + goto error_return; + n->abfd = abfd; +- n->next = htab->loaded; +- htab->loaded = n; ++ n->next = htab->dyn_loaded; ++ htab->dyn_loaded = n; + } ++ if (dynamic && !add_needed ++ && (elf_dyn_lib_class (abfd) & DYN_DT_NEEDED) != 0) ++ elf_dyn_lib_class (abfd) |= DYN_NO_NEEDED; + + return TRUE; + +@@ -9689,7 +9694,7 @@ elf_link_check_versioned_symbol (struct bfd_link_info *info, + } + BFD_ASSERT (abfd != NULL); + +- for (loaded = elf_hash_table (info)->loaded; ++ for (loaded = elf_hash_table (info)->dyn_loaded; + loaded != NULL; + loaded = loaded->next) + { +@@ -9709,7 +9714,6 @@ elf_link_check_versioned_symbol (struct bfd_link_info *info, + + /* We check each DSO for a possible hidden versioned definition. */ + if (input == abfd +- || (input->flags & DYNAMIC) == 0 + || elf_dynversym (input) == 0) + continue; + +diff --git a/ld/ldelf.c b/ld/ldelf.c +index 3ac3bb4e0a..b055929d02 100644 +--- a/ld/ldelf.c ++++ b/ld/ldelf.c +@@ -375,6 +375,9 @@ ldelf_try_needed (struct dt_needed *needed, int force, int is_linux) + + bfd_elf_set_dyn_lib_class (abfd, (enum dynamic_lib_link_class) link_class); + ++ *link_info.input_bfds_tail = abfd; ++ link_info.input_bfds_tail = &abfd->link.next; ++ + /* Add this file into the symbol table. */ + if (! bfd_link_add_symbols (abfd, &link_info)) + einfo (_("%F%P: %pB: error adding symbols: %E\n"), abfd); +@@ -992,6 +995,7 @@ ldelf_after_open (int use_libpath, int native, int is_linux, int is_freebsd, + struct elf_link_hash_table *htab; + asection *s; + bfd *abfd; ++ bfd **save_input_bfd_tail; + + after_open_default (); + +@@ -1134,6 +1138,7 @@ ldelf_after_open (int use_libpath, int native, int is_linux, int is_freebsd, + special action by the person doing the link. Note that the + needed list can actually grow while we are stepping through this + loop. */ ++ save_input_bfd_tail = link_info.input_bfds_tail; + needed = bfd_elf_get_needed_list (link_info.output_bfd, &link_info); + for (l = needed; l != NULL; l = l->next) + { +@@ -1290,6 +1295,20 @@ ldelf_after_open (int use_libpath, int native, int is_linux, int is_freebsd, + l->name, l->by); + } + ++ for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next) ++ if (bfd_get_format (abfd) == bfd_object ++ && ((abfd->flags) & DYNAMIC) != 0 ++ && bfd_get_flavour (abfd) == bfd_target_elf_flavour ++ && (elf_dyn_lib_class (abfd) & (DYN_AS_NEEDED | DYN_NO_NEEDED)) == 0 ++ && elf_dt_name (abfd) != NULL) ++ { ++ if (bfd_elf_add_dt_needed_tag (abfd, &link_info) < 0) ++ einfo (_("%F%P: failed to add DT_NEEDED dynamic tag\n")); ++ } ++ ++ link_info.input_bfds_tail = save_input_bfd_tail; ++ *save_input_bfd_tail = NULL; ++ + if (link_info.eh_frame_hdr_type == COMPACT_EH_HDR) + if (!bfd_elf_parse_eh_frame_entries (NULL, &link_info)) + einfo (_("%F%P: failed to parse EH frame entries\n")); +diff --git a/ld/testsuite/ld-cris/gotplt1.d b/ld/testsuite/ld-cris/gotplt1.d +index 28724d7004..defba8ad6a 100644 +--- a/ld/testsuite/ld-cris/gotplt1.d ++++ b/ld/testsuite/ld-cris/gotplt1.d +@@ -34,7 +34,7 @@ Contents of section \.text: + 80178 6f0d1000 0000611a 6f2e5401 08000000 .* + 80188 6f3e70df ffff0000 .* + Contents of section \.dynamic: +- 82190 01000000 01000000 04000000 e4000800 .* ++ 82190 01000000 07000000 04000000 e4000800 .* + 821a0 05000000 18010800 06000000 f8000800 .* + 821b0 0a000000 1a000000 0b000000 10000000 .* + 821c0 15000000 00000000 03000000 18220800 .* diff --git a/binutils.changes b/binutils.changes index 8e2c7fa..0b59315 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/binutils.spec b/binutils.spec index e52615e..05cea1e 100644 --- a/binutils.spec +++ b/binutils.spec @@ -97,6 +97,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -189,6 +190,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 835ad1c..3055253 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 3d6f313..8e976f1 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index f5faaec..76c1ac0 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index 9f970db..e8e1f49 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 80d7e17..ca63509 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 9a8bac3..80f496d 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index cbbfe0c..c7f03e0 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 7ecdd4c..2b5d43b 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 3574340..deb5eec 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 8756e89..1202966 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index d392c58..5287143 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index f0a5c6b..a84f21b 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index b202fc2..da9a2f6 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index e1a2de2..c08bd84 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index e94d6d6..7428d25 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index e009915..0429ddc 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 6248f9b..b9b08a7 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 5b8ddf1..6a6f591 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index f373e88..11fdc10 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 44496a3..a5a506d 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index f3aa8c0..c0601ff 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-xtensa-binutils.changes b/cross-xtensa-binutils.changes index 8e2c7fa..0b59315 100644 --- a/cross-xtensa-binutils.changes +++ b/cross-xtensa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 08:13:33 UTC 2020 - Richard Biener + +- Add binutils-pr25593.diff to fix DT_NEEDED order with -flto + [bsc#1163744] + ------------------------------------------------------------------- Tue Feb 18 16:12:52 UTC 2020 - Martin Liška diff --git a/cross-xtensa-binutils.spec b/cross-xtensa-binutils.spec index e0b06be..8bcba6a 100644 --- a/cross-xtensa-binutils.spec +++ b/cross-xtensa-binutils.spec @@ -100,6 +100,7 @@ Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff Patch39: fix-try_load_plugin.patch +Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -192,6 +193,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %endif %patch38 %patch39 -p1 +%patch40 -p1 %patch100 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h From 35637993a3d8f04ed4aeba82de9053f00abdcb044b827a0de69517bb7019b003 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 4 Mar 2020 09:15:36 +0000 Subject: [PATCH 5/6] Accepting request 780369 from home:marxin:branches:devel:gcc - Remove fix-try_load_plugin.patch as it is part of the updated binutils-2.34-branch.diff.gz patch. OBS-URL: https://build.opensuse.org/request/show/780369 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=335 --- binutils-2.34-branch.diff.gz | 4 +- binutils.changes | 6 ++ binutils.spec | 2 - cross-aarch64-binutils.changes | 6 ++ cross-aarch64-binutils.spec | 2 - cross-arm-binutils.changes | 6 ++ cross-arm-binutils.spec | 2 - cross-avr-binutils.changes | 6 ++ cross-avr-binutils.spec | 2 - cross-epiphany-binutils.changes | 6 ++ cross-epiphany-binutils.spec | 2 - cross-hppa-binutils.changes | 6 ++ cross-hppa-binutils.spec | 2 - cross-hppa64-binutils.changes | 6 ++ cross-hppa64-binutils.spec | 2 - cross-i386-binutils.changes | 6 ++ cross-i386-binutils.spec | 2 - cross-ia64-binutils.changes | 6 ++ cross-ia64-binutils.spec | 2 - cross-m68k-binutils.changes | 6 ++ cross-m68k-binutils.spec | 2 - cross-mips-binutils.changes | 6 ++ cross-mips-binutils.spec | 2 - cross-ppc-binutils.changes | 6 ++ cross-ppc-binutils.spec | 2 - cross-ppc64-binutils.changes | 6 ++ cross-ppc64-binutils.spec | 2 - cross-ppc64le-binutils.changes | 6 ++ cross-ppc64le-binutils.spec | 2 - cross-riscv64-binutils.changes | 6 ++ cross-riscv64-binutils.spec | 2 - cross-rx-binutils.changes | 6 ++ cross-rx-binutils.spec | 2 - cross-s390-binutils.changes | 6 ++ cross-s390-binutils.spec | 2 - cross-s390x-binutils.changes | 6 ++ cross-s390x-binutils.spec | 2 - cross-sparc-binutils.changes | 6 ++ cross-sparc-binutils.spec | 2 - cross-sparc64-binutils.changes | 6 ++ cross-sparc64-binutils.spec | 2 - cross-spu-binutils.changes | 6 ++ cross-spu-binutils.spec | 2 - cross-x86_64-binutils.changes | 6 ++ cross-x86_64-binutils.spec | 2 - cross-xtensa-binutils.changes | 6 ++ cross-xtensa-binutils.spec | 2 - fix-try_load_plugin.patch | 127 -------------------------------- 48 files changed, 140 insertions(+), 175 deletions(-) delete mode 100644 fix-try_load_plugin.patch diff --git a/binutils-2.34-branch.diff.gz b/binutils-2.34-branch.diff.gz index 7dae14c..bf4c6d4 100644 --- a/binutils-2.34-branch.diff.gz +++ b/binutils-2.34-branch.diff.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:49f59f06b7254fa0bd2338b1749364d5ee53ac1a1635712e9e2657557a9b0bde -size 85864 +oid sha256:fdf19f7ddc82d0eff160a67f08bd4400f64859f49856f284853db7de9694a92f +size 87310 diff --git a/binutils.changes b/binutils.changes index 0b59315..002d736 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/binutils.spec b/binutils.spec index 05cea1e..fce373c 100644 --- a/binutils.spec +++ b/binutils.spec @@ -96,7 +96,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -189,7 +188,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 0b59315..002d736 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 3055253..76ef69c 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 0b59315..002d736 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 8e976f1..fb7c52d 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 0b59315..002d736 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 76c1ac0..d8cd22d 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index 0b59315..002d736 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index e8e1f49..4ac4cc3 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 0b59315..002d736 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index ca63509..a7b49ba 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 0b59315..002d736 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 80f496d..8a8af69 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 0b59315..002d736 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index c7f03e0..57ec9a3 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 0b59315..002d736 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 2b5d43b..64a0bae 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 0b59315..002d736 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index deb5eec..3677415 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 0b59315..002d736 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 1202966..c291bab 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 0b59315..002d736 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 5287143..f914c16 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 0b59315..002d736 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index a84f21b..77a238e 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 0b59315..002d736 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index da9a2f6..34fa52d 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index 0b59315..002d736 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index c08bd84..3b31415 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index 0b59315..002d736 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index 7428d25..ce942be 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 0b59315..002d736 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 0429ddc..ba38f34 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 0b59315..002d736 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index b9b08a7..8738776 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 0b59315..002d736 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 6a6f591..592ba4b 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 0b59315..002d736 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 11fdc10..9ab0b53 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 0b59315..002d736 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index a5a506d..80e42be 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 0b59315..002d736 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index c0601ff..1165b97 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/cross-xtensa-binutils.changes b/cross-xtensa-binutils.changes index 0b59315..002d736 100644 --- a/cross-xtensa-binutils.changes +++ b/cross-xtensa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 16:20:14 UTC 2020 - Martin Liška + +- Remove fix-try_load_plugin.patch as it is part + of the updated binutils-2.34-branch.diff.gz patch. + ------------------------------------------------------------------- Wed Feb 26 08:13:33 UTC 2020 - Richard Biener diff --git a/cross-xtensa-binutils.spec b/cross-xtensa-binutils.spec index 8bcba6a..42b64d5 100644 --- a/cross-xtensa-binutils.spec +++ b/cross-xtensa-binutils.spec @@ -99,7 +99,6 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: binutils-fix-invalid-op-errata.diff -Patch39: fix-try_load_plugin.patch Patch40: binutils-pr25593.diff Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch @@ -192,7 +191,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -%patch39 -p1 %patch40 -p1 %patch100 %if "%{TARGET}" == "avr" diff --git a/fix-try_load_plugin.patch b/fix-try_load_plugin.patch deleted file mode 100644 index c363d41..0000000 --- a/fix-try_load_plugin.patch +++ /dev/null @@ -1,127 +0,0 @@ -From d9d92bacb7adb4bab0c26eb7458203345a0faf13 Mon Sep 17 00:00:00 2001 -From: "H.J. Lu" -Date: Tue, 18 Feb 2020 04:22:34 -0800 -Subject: [PATCH] plugin: Call dlclose before return in try_load_plugin - -Since plugin can be used only once in try_load_plugin, call dlclose -before return. - - PR binutils/25355 - * plugin.c (plugin_list_entry): Remove handle. - (try_load_plugin): Call dlclose before return. ---- - bfd/plugin.c | 39 ++++++++++++++++++--------------------- - 1 file changed, 18 insertions(+), 21 deletions(-) - -diff --git a/bfd/plugin.c b/bfd/plugin.c -index 47c3439042..93d562b9fe 100644 ---- a/bfd/plugin.c -+++ b/bfd/plugin.c -@@ -126,7 +126,6 @@ message (int level ATTRIBUTE_UNUSED, - struct plugin_list_entry - { - /* These must be initialized for each IR object with LTO wrapper. */ -- void *handle; - ld_plugin_claim_file_handler claim_file; - ld_plugin_all_symbols_read_handler all_symbols_read; - ld_plugin_all_symbols_read_handler cleanup_handler; -@@ -596,22 +595,18 @@ try_load_plugin (const char *pname, - struct plugin_list_entry *plugin_list_iter, - bfd *abfd, bfd_boolean build_list_p) - { -- void *plugin_handle = NULL; -+ void *plugin_handle; - struct ld_plugin_tv tv[12]; - int i; - ld_plugin_onload onload; - enum ld_plugin_status status; -+ int result = 0; - - /* NB: Each object is independent. Reuse the previous plugin from - the last run will lead to wrong result. */ - if (current_plugin) -- { -- if (current_plugin->handle) -- dlclose (current_plugin->handle); -- memset (current_plugin, 0, -- offsetof (struct plugin_list_entry, next)); -- current_plugin = NULL; -- } -+ memset (current_plugin, 0, -+ offsetof (struct plugin_list_entry, next)); - - if (plugin_list_iter) - pname = plugin_list_iter->plugin_name; -@@ -628,12 +623,12 @@ try_load_plugin (const char *pname, - size_t length_plugin_name = strlen (pname) + 1; - char *plugin_name = bfd_malloc (length_plugin_name); - if (plugin_name == NULL) -- return 0; -+ goto short_circuit; - plugin_list_iter = bfd_malloc (sizeof *plugin_list_iter); - if (plugin_list_iter == NULL) - { - free (plugin_name); -- return 0; -+ goto short_circuit; - } - /* Make a copy of PNAME since PNAME from load_plugin () will be - freed. */ -@@ -644,13 +639,13 @@ try_load_plugin (const char *pname, - plugin_list = plugin_list_iter; - } - -- plugin_list_iter->handle = plugin_handle; -+ current_plugin = plugin_list_iter; - if (build_list_p) -- return 0; -+ goto short_circuit; - - onload = dlsym (plugin_handle, "onload"); - if (!onload) -- return 0; -+ goto short_circuit; - - i = 0; - tv[i].tv_tag = LDPT_MESSAGE; -@@ -703,28 +698,30 @@ try_load_plugin (const char *pname, - tv[i].tv_tag = LDPT_NULL; - tv[i].tv_u.tv_val = 0; - -- current_plugin = plugin_list_iter; -- - /* LTO plugin will call handler hooks to set up plugin handlers. */ - status = (*onload)(tv); - - if (status != LDPS_OK) -- return 0; -+ goto short_circuit; - - if (current_plugin->lto_wrapper - && setup_lto_wrapper_env (current_plugin)) -- return 0; -+ goto short_circuit; - - abfd->plugin_format = bfd_plugin_no; - - if (!current_plugin->claim_file) -- return 0; -+ goto short_circuit; - - if (!try_claim (abfd)) -- return 0; -+ goto short_circuit; - - abfd->plugin_format = bfd_plugin_yes; -- return 1; -+ result = 1; -+ -+short_circuit: -+ dlclose (plugin_handle); -+ return result; - } - - /* There may be plugin libraries in lib/bfd-plugins. */ --- -2.24.1 - From 31b9d23f9869987e2b44188e9a9aa88270b533165eb5caf6badd7882e8e9bcc3 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Wed, 25 Mar 2020 14:58:31 +0000 Subject: [PATCH 6/6] Accepting request 788222 from home:marxin:branches:devel:gcc - Update binutils-2.34-branch.diff.gz. OBS-URL: https://build.opensuse.org/request/show/788222 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=336 --- binutils-2.34-branch.diff.gz | 4 ++-- binutils.changes | 5 +++++ cross-aarch64-binutils.changes | 5 +++++ cross-arm-binutils.changes | 5 +++++ cross-avr-binutils.changes | 5 +++++ cross-epiphany-binutils.changes | 5 +++++ cross-hppa-binutils.changes | 5 +++++ cross-hppa64-binutils.changes | 5 +++++ cross-i386-binutils.changes | 5 +++++ cross-ia64-binutils.changes | 5 +++++ cross-m68k-binutils.changes | 5 +++++ cross-mips-binutils.changes | 5 +++++ cross-ppc-binutils.changes | 5 +++++ cross-ppc64-binutils.changes | 5 +++++ cross-ppc64le-binutils.changes | 5 +++++ cross-riscv64-binutils.changes | 5 +++++ cross-rx-binutils.changes | 5 +++++ cross-s390-binutils.changes | 5 +++++ cross-s390x-binutils.changes | 5 +++++ cross-sparc-binutils.changes | 5 +++++ cross-sparc64-binutils.changes | 5 +++++ cross-spu-binutils.changes | 5 +++++ cross-x86_64-binutils.changes | 5 +++++ cross-xtensa-binutils.changes | 5 +++++ 24 files changed, 117 insertions(+), 2 deletions(-) diff --git a/binutils-2.34-branch.diff.gz b/binutils-2.34-branch.diff.gz index bf4c6d4..ec04628 100644 --- a/binutils-2.34-branch.diff.gz +++ b/binutils-2.34-branch.diff.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fdf19f7ddc82d0eff160a67f08bd4400f64859f49856f284853db7de9694a92f -size 87310 +oid sha256:b8240f60017ebd759137ca9952f254ba06d79e3279564e26323f08da9426ec93 +size 88551 diff --git a/binutils.changes b/binutils.changes index 002d736..e9f1bef 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška diff --git a/cross-xtensa-binutils.changes b/cross-xtensa-binutils.changes index 002d736..e9f1bef 100644 --- a/cross-xtensa-binutils.changes +++ b/cross-xtensa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 14:12:50 UTC 2020 - Martin Liška + +- Update binutils-2.34-branch.diff.gz. + ------------------------------------------------------------------- Fri Feb 28 16:20:14 UTC 2020 - Martin Liška