diff --git a/binutils-2.32-branch.diff.gz b/binutils-2.32-branch.diff.gz deleted file mode 100644 index 12ae724..0000000 --- a/binutils-2.32-branch.diff.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:173615be511867337c6e896dac1c5f7cd5c80f59e464e5d486557dcbb028a18f -size 196415 diff --git a/binutils-2.32.tar.bz2 b/binutils-2.32.tar.bz2 deleted file mode 100644 index 0977b40..0000000 --- a/binutils-2.32.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de38b15c902eb2725eac6af21183a5f34ea4634cb0bcef19612b50e5ed31072d -size 30782392 diff --git a/binutils-2.32.tar.bz2.sig b/binutils-2.32.tar.bz2.sig deleted file mode 100644 index f0da3e8..0000000 --- a/binutils-2.32.tar.bz2.sig +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIcBAABAgAGBQJcVcbXAAoJEBP874ndnjxPtEoQAIsDKO409rdi5SYUZq0LFBso -MUWUj8MtnpKNcWY7KQx3/TWxNXdJMVi50Oww641sKuF6YCX9XIcHZWuY7PNU9cDt -HPg9+B0ERm4ENqkTX8HdWGwYFUe4PvS3oVKXFw4EgezIDTerjtf8aWi9dktyu/Z8 -J/Jkq2TunKMzJdRcanJ5KtDxv3HAxD4cyqEPcQjrUmHuPZubjuwXALqRJYtMjDZw -tkX2hoxyjN7l4cg76C0+xueIykprsMkOABF0do4cEg+BbiRZt7zGM9C+b3rqFlwn -X7cx3SZ8EhC00iGtGrccXYuG+rd6eRihshuWTnYok5xDywdaj0SR97b1sCEnPDb/ -eCCYFk6GPfTEBk5aJPlfoQiD1CRsK7Rq4nRdGklX2xoGf7e02G2QZjfK/AKpsTq0 -XfacXPuSil+jbuIJyIJOU2i/3g5dfVGaW/xOOrNcWppsxPfe0NNdAKdG/bpbEgjc -wJipw6qglmxpsnDkzqS02jNRMuo7IPs7av+F+0r+ROcZqUJjJM7iobcwVdAtTX1d -Q98uduoxcD0yTW1YX6CQgbuqeLLpSTwu26UJtAnyoZANXMKcZ0obL6udcHR+zcwe -6JREwZwywHs+NqQNpeMe2UmR7kfojpcXpTxjG67e5hg33IKMRVUECAz/1kKvCic7 -TChf6vdF0e3IJtum6XdE -=xWLu ------END PGP SIGNATURE----- diff --git a/binutils-2.33-branch.diff.gz b/binutils-2.33-branch.diff.gz new file mode 100644 index 0000000..fdb062b --- /dev/null +++ b/binutils-2.33-branch.diff.gz @@ -0,0 +1,3 @@ +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 new file mode 100644 index 0000000..0ed1f56 --- /dev/null +++ b/binutils-2.33.1.tar.bz2 @@ -0,0 +1,3 @@ +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 new file mode 100644 index 0000000..55f7d72 --- /dev/null +++ b/binutils-2.33.1.tar.bz2.sig @@ -0,0 +1,16 @@ +-----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-fix-ld-segv.diff b/binutils-fix-ld-segv.diff deleted file mode 100644 index dc3952b..0000000 --- a/binutils-fix-ld-segv.diff +++ /dev/null @@ -1,23 +0,0 @@ -Fix for bsc#1154025 - -Fixes a segfault in linking some pacemaker libs where some versions -use linker script magic to force some symbols visible, making their -sections not have an owner. ---- bfd/elf64-x86-64.c.mm 2019-10-15 13:54:18.826038254 +0000 -+++ bfd/elf64-x86-64.c 2019-10-15 13:52:38.040286437 +0000 -@@ -2239,6 +2239,7 @@ check_pic: - = (info->nocopyreloc - || (h != NULL - && eh->def_protected -+ && h->root.u.def.section->owner - && elf_has_no_copy_on_protected (h->root.u.def.section->owner))); - if ((sec->flags & SEC_ALLOC) != 0 - && (sec->flags & SEC_READONLY) != 0 -@@ -3859,6 +3860,7 @@ direct: - sec = h->root.u.def.section; - if ((info->nocopyreloc - || (eh->def_protected -+ && h->root.u.def.section->owner - && elf_has_no_copy_on_protected (h->root.u.def.section->owner))) - && !(h->root.u.def.section->flags & SEC_CODE)) - return elf_x86_64_need_pic (info, input_bfd, input_section, diff --git a/binutils-pr24486.patch b/binutils-pr24486.patch deleted file mode 100644 index ae59293..0000000 --- a/binutils-pr24486.patch +++ /dev/null @@ -1,110 +0,0 @@ -From c54f15248ee990df6cea0b4730cd61b227a0e082 Mon Sep 17 00:00:00 2001 -From: "H.J. Lu" -Date: Fri, 26 Apr 2019 07:52:00 -0700 -Subject: [PATCH] Don't complain undefined weak dynamic reference - -When undefined non-weak references in IR objects are optimized out -by LTO, we can have weak dynamic referencs to symbols marked with -bfd_link_hash_undefined. We shouldn't complain such undefined weak -dynamic references. - -bfd/ - - PR ld/24486 - * elflink.c (elf_link_output_extsym): Don't complain undefined - weak dynamic reference. - -ld/ - - PR ld/24486 - * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests. - * testsuite/ld-plugin/pr24486a.c: New file. - * testsuite/ld-plugin/pr24486b.c: Likewise. - * testsuite/ld-plugin/pr24486c.c: Likewise. ---- - bfd/ChangeLog | 6 ++++++ - bfd/elflink.c | 2 +- - ld/ChangeLog | 8 ++++++++ - ld/testsuite/ld-plugin/lto.exp | 12 ++++++++++++ - ld/testsuite/ld-plugin/pr24486a.c | 8 ++++++++ - ld/testsuite/ld-plugin/pr24486b.c | 8 ++++++++ - ld/testsuite/ld-plugin/pr24486c.c | 1 + - 7 files changed, 44 insertions(+), 1 deletion(-) - create mode 100644 ld/testsuite/ld-plugin/pr24486a.c - create mode 100644 ld/testsuite/ld-plugin/pr24486b.c - create mode 100644 ld/testsuite/ld-plugin/pr24486c.c - -diff --git a/bfd/elflink.c b/bfd/elflink.c -index 81e667dab0..ddeaa08d50 100644 ---- a/bfd/elflink.c -+++ b/bfd/elflink.c -@@ -9776,7 +9776,7 @@ elf_link_output_extsym (struct bfd_hash_entry *bh, void *data) - - /* If we are reporting errors for this situation then do so now. */ - if (!ignore_undef -- && h->ref_dynamic -+ && h->ref_dynamic_nonweak - && (!h->ref_regular || flinfo->info->gc_sections) - && !elf_link_check_versioned_symbol (flinfo->info, bed, h) - && flinfo->info->unresolved_syms_in_shared_libs != RM_IGNORE) -diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp -index b13a77333f..e913c6f203 100644 ---- a/ld/testsuite/ld-plugin/lto.exp -+++ b/ld/testsuite/ld-plugin/lto.exp -@@ -325,6 +325,18 @@ set lto_link_elf_tests [list \ - [list {Build pr22220main.o} \ - {} {-flto} \ - {pr22220main.cc} {} {} {c++}] \ -+ [list "Build pr24486a.o" \ -+ "$plug_opt" "-flto -O2" \ -+ {pr24486a.c} {} "" "c"] \ -+ [list "Build pr24486b.so" \ -+ "-shared" "-O2 -fpic" \ -+ {pr24486b.c} {} "pr24486b.so" "c"] \ -+ [list "Build pr24486c.so" \ -+ "-shared -Wl,--no-as-needed tmpdir/pr24486b.so" "-O2 -fpic" \ -+ {pr24486c.c} {} "pr24486c.so" "c"] \ -+ [list "PR ld/24486" \ -+ "-O2 -flto tmpdir/pr24486a.o tmpdir/pr24486c.so -Wl,--as-needed tmpdir/pr24486b.so" "" \ -+ {dummy.c} {} "pr24486.exe"] \ - ] - - # PR 14918 checks that libgcc is not spuriously included in a shared link of -diff --git a/ld/testsuite/ld-plugin/pr24486a.c b/ld/testsuite/ld-plugin/pr24486a.c -new file mode 100644 -index 0000000000..def0139598 ---- /dev/null -+++ b/ld/testsuite/ld-plugin/pr24486a.c -@@ -0,0 +1,8 @@ -+extern int FLAGS_verbose; -+extern void bar (void); -+int -+a(void) { -+return FLAGS_verbose; -+} -+void unused (void) { bar(); } -+int main() { return a (); } -diff --git a/ld/testsuite/ld-plugin/pr24486b.c b/ld/testsuite/ld-plugin/pr24486b.c -new file mode 100644 -index 0000000000..3aabe2a395 ---- /dev/null -+++ b/ld/testsuite/ld-plugin/pr24486b.c -@@ -0,0 +1,8 @@ -+extern void bar (void) __attribute__((weak)); -+ -+void -+foo (void) -+{ -+ if (bar) -+ bar (); -+} -diff --git a/ld/testsuite/ld-plugin/pr24486c.c b/ld/testsuite/ld-plugin/pr24486c.c -new file mode 100644 -index 0000000000..f289177d3e ---- /dev/null -+++ b/ld/testsuite/ld-plugin/pr24486c.c -@@ -0,0 +1 @@ -+int FLAGS_verbose; --- -2.21.0 - diff --git a/binutils-revert-plt32-in-branches.diff b/binutils-revert-plt32-in-branches.diff index cb75620..b182f15 100644 --- a/binutils-revert-plt32-in-branches.diff +++ b/binutils-revert-plt32-in-branches.diff @@ -78,11 +78,11 @@ 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.32/bfd/elf64-x86-64.c +Index: binutils-2.33.1/bfd/elf64-x86-64.c =================================================================== ---- binutils-2.32.orig/bfd/elf64-x86-64.c 2019-09-09 18:29:44.000000000 +0200 -+++ binutils-2.32/bfd/elf64-x86-64.c 2019-09-09 18:31:48.000000000 +0200 -@@ -1789,6 +1789,24 @@ rewrite_modrm_rex: +--- 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 +@@ -1798,6 +1798,24 @@ rewrite_modrm_rex: return TRUE; } @@ -107,62 +107,62 @@ Index: binutils-2.32/bfd/elf64-x86-64.c /* Look through the relocs for a section during the first phase, and calculate needed space in the global offset table, procedure linkage table, and dynamic reloc sections. */ -@@ -2248,28 +2266,30 @@ check_pic: - && (eh == NULL - || !UNDEFINED_WEAK_RESOLVED_TO_ZERO (info, - eh))) -- || (bfd_link_pie (info) -- && !SYMBOL_DEFINED_NON_SHARED_P (h) -- && h->def_dynamic) - || (no_copyreloc_p - && h->def_dynamic - && !(h->root.u.def.section->flags & SEC_CODE)))) - || bfd_link_dll (info))) - { - bfd_boolean fail = FALSE; -+ bfd_boolean branch -+ = ((r_type == R_X86_64_PC32 -+ || r_type == R_X86_64_PC32_BND) -+ && is_32bit_relative_branch (contents, rel->r_offset)); +@@ -3089,28 +3107,30 @@ use_plt: + && (eh == NULL + || !UNDEFINED_WEAK_RESOLVED_TO_ZERO (info, + eh))) +- || (bfd_link_pie (info) +- && !SYMBOL_DEFINED_NON_SHARED_P (h) +- && h->def_dynamic) + || (no_copyreloc_p + && h->def_dynamic + && !(h->root.u.def.section->flags & SEC_CODE)))) + || bfd_link_dll (info))) + { + bfd_boolean fail = FALSE; ++ bfd_boolean branch ++ = ((r_type == R_X86_64_PC32 ++ || r_type == R_X86_64_PC32_BND) ++ && is_32bit_relative_branch (contents, rel->r_offset)); + - if (SYMBOL_REFERENCES_LOCAL_P (info, h)) - { - /* Symbol is referenced locally. Make sure it is -- defined locally. */ -- fail = !SYMBOL_DEFINED_NON_SHARED_P (h); -+ defined locally or for a branch. */ -+ fail = !SYMBOL_DEFINED_NON_SHARED_P (h) && !branch; - } - else if (bfd_link_pie (info)) - { - /* We can only use PC-relative relocations in PIE -- from non-code sections. */ -+ from non-code sections or branches. */ - if (h->type == STT_FUNC - && (sec->flags & SEC_CODE) != 0) -- fail = TRUE; -+ fail = !branch; - } - else if (no_copyreloc_p || bfd_link_dll (info)) - { -@@ -2278,9 +2298,10 @@ check_pic: - relocations against default and protected - symbols since address of protected function - and location of protected data may not be in -- the shared object. */ -+ the shared object. We do allow branch to symbol -+ with non-default visibility. */ - fail = (ELF_ST_VISIBILITY (h->other) == STV_DEFAULT -- || ELF_ST_VISIBILITY (h->other) == STV_PROTECTED); -+ || !branch); - } + if (SYMBOL_REFERENCES_LOCAL_P (info, h)) + { + /* Symbol is referenced locally. Make sure it is +- defined locally. */ +- fail = !SYMBOL_DEFINED_NON_SHARED_P (h); ++ defined locally or for a branch. */ ++ fail = !SYMBOL_DEFINED_NON_SHARED_P (h) && !branch; + } + else if (bfd_link_pie (info)) + { + /* We can only use PC-relative relocations in PIE +- from non-code sections. */ ++ from non-code sections or branches. */ + if (h->type == STT_FUNC + && (sec->flags & SEC_CODE) != 0) +- fail = TRUE; ++ fail = !branch; + } + else if (no_copyreloc_p || bfd_link_dll (info)) + { +@@ -3119,9 +3139,10 @@ use_plt: + relocations against default and protected + symbols since address of protected function + and location of protected data may not be in +- the shared object. */ ++ the shared object. We do allow branch to symbol ++ with non-default visibility. */ + fail = (ELF_ST_VISIBILITY (h->other) == STV_DEFAULT +- || ELF_ST_VISIBILITY (h->other) == STV_PROTECTED); ++ || !branch); + } - if (fail) -Index: binutils-2.32/gas/config/tc-i386.c + if (fail) +Index: binutils-2.33.1/gas/config/tc-i386.c =================================================================== ---- binutils-2.32.orig/gas/config/tc-i386.c 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/config/tc-i386.c 2019-09-09 18:29:44.000000000 +0200 -@@ -7690,46 +7690,12 @@ output_branch (void) +--- 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) frag_var (rs_machine_dependent, 5, i.reloc[0], subtype, sym, off, p); } @@ -177,6 +177,12 @@ Index: binutils-2.32/gas/config/tc-i386.c - if (!IS_ELF) - return FALSE; - +-#ifdef TE_SOLARIS +- /* Don't emit PLT32 relocation on Solaris: neither native linker nor +- krtld support it. */ +- return FALSE; +-#endif +- - /* Since there is no need to prepare for PLT branch on x86-64, we - can generate R_X86_64_PLT32, instead of R_X86_64_PC32, which can - be used as a marker for 32-bit PC-relative branches. */ @@ -209,7 +215,7 @@ Index: binutils-2.32/gas/config/tc-i386.c if (i.tm.opcode_modifier.jumpbyte) { -@@ -7797,17 +7763,8 @@ output_jump (void) +@@ -7990,17 +7950,8 @@ output_jump (void) abort (); } @@ -228,7 +234,7 @@ Index: binutils-2.32/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 -@@ -10236,10 +10193,6 @@ md_estimate_size_before_relax (fragS *fr +@@ -10430,10 +10381,6 @@ md_estimate_size_before_relax (fragS *fr reloc_type = (enum bfd_reloc_code_real) fragP->fr_var; else if (size == 2) reloc_type = BFD_RELOC_16_PCREL; @@ -239,10 +245,10 @@ Index: binutils-2.32/gas/config/tc-i386.c else reloc_type = BFD_RELOC_32_PCREL; -Index: binutils-2.32/gas/testsuite/gas/i386/ilp32/reloc64.d +Index: binutils-2.33.1/gas/testsuite/gas/i386/ilp32/reloc64.d =================================================================== ---- binutils-2.32.orig/gas/testsuite/gas/i386/ilp32/reloc64.d 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/testsuite/gas/i386/ilp32/reloc64.d 2019-09-09 18:29:44.000000000 +0200 +--- 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 @@ -17,7 +17,7 @@ Disassembly of section \.text: .*[ ]+R_X86_64_PC8[ ]+xtrn\+0x0*1 .*[ ]+R_X86_64_PC32[ ]+xtrn-0x0*4 @@ -252,10 +258,10 @@ Index: binutils-2.32/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.32/gas/testsuite/gas/i386/ilp32/x86-64-branch.d +Index: binutils-2.33.1/gas/testsuite/gas/i386/ilp32/x86-64-branch.d =================================================================== ---- binutils-2.32.orig/gas/testsuite/gas/i386/ilp32/x86-64-branch.d 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/testsuite/gas/i386/ilp32/x86-64-branch.d 2019-09-09 18:29:44.000000000 +0200 +--- 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 @@ -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 @@ -269,11 +275,11 @@ Index: binutils-2.32/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.32/gas/testsuite/gas/i386/reloc64.d +Index: binutils-2.33.1/gas/testsuite/gas/i386/reloc64.d =================================================================== ---- binutils-2.32.orig/gas/testsuite/gas/i386/reloc64.d 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/testsuite/gas/i386/reloc64.d 2019-09-09 18:29:44.000000000 +0200 -@@ -19,7 +19,7 @@ Disassembly of section \.text: +--- 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 +@@ -20,7 +20,7 @@ Disassembly of section \.text: .*[ ]+R_X86_64_PC8[ ]+xtrn\+0x0*1 .*[ ]+R_X86_64_PC32[ ]+xtrn-0x0*4 .*[ ]+R_X86_64_PC32[ ]+xtrn-0x0*4 @@ -282,11 +288,11 @@ Index: binutils-2.32/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.32/gas/testsuite/gas/i386/x86-64-jump.d +Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-jump.d =================================================================== ---- binutils-2.32.orig/gas/testsuite/gas/i386/x86-64-jump.d 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/testsuite/gas/i386/x86-64-jump.d 2019-09-09 18:29:44.000000000 +0200 -@@ -8,7 +8,7 @@ Disassembly of section .text: +--- 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 +@@ -9,7 +9,7 @@ Disassembly of section .text: 0+ <.text>: [ ]*[a-f0-9]+: eb fe jmp (0x0|0 <.text>) @@ -295,7 +301,7 @@ Index: binutils-2.32/gas/testsuite/gas/i386/x86-64-jump.d [ ]*[a-f0-9]+: ff 24 25 00 00 00 00 jmpq \*0x0 a: R_X86_64_32S xxx [ ]*[a-f0-9]+: ff e7 jmpq \*%rdi [ ]*[a-f0-9]+: ff 27 jmpq \*\(%rdi\) -@@ -17,7 +17,7 @@ Disassembly of section .text: +@@ -18,7 +18,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: ff 2c 25 00 00 00 00 ljmp \*0x0 24: R_X86_64_32S xxx [ ]*[a-f0-9]+: 66 ff 2c 25 00 00 00 00 ljmpw \*0x0 2c: R_X86_64_32S xxx [ ]*[a-f0-9]+: e8 cb ff ff ff callq 0x0 @@ -304,11 +310,11 @@ Index: binutils-2.32/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.32/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d +Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d =================================================================== ---- binutils-2.32.orig/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d 2019-09-09 18:29:44.000000000 +0200 -@@ -20,9 +20,9 @@ Disassembly of section .text: +--- 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 0+24 : @@ -321,11 +327,11 @@ Index: binutils-2.32/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d [ ]*[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.32/gas/testsuite/gas/i386/x86-64-mpx-branch-2.d +Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-mpx-branch-2.d =================================================================== ---- binutils-2.32.orig/gas/testsuite/gas/i386/x86-64-mpx-branch-2.d 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/testsuite/gas/i386/x86-64-mpx-branch-2.d 2019-09-09 18:29:44.000000000 +0200 -@@ -20,9 +20,9 @@ Disassembly of section .text: +--- 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 : @@ -338,44 +344,44 @@ Index: binutils-2.32/gas/testsuite/gas/i386/x86-64-mpx-branch-2.d [ ]*[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.32/gas/testsuite/gas/i386/x86-64-nop-3.d +Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-3.d =================================================================== ---- binutils-2.32.orig/gas/testsuite/gas/i386/x86-64-nop-3.d 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/testsuite/gas/i386/x86-64-nop-3.d 2019-09-09 18:29:44.000000000 +0200 -@@ -17,5 +17,5 @@ Disassembly of section .text: +--- 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 +@@ -18,5 +18,5 @@ Disassembly of section .text: Disassembly of section .altinstr_replacement: 0+ <.altinstr_replacement>: - +[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.32/gas/testsuite/gas/i386/x86-64-nop-4.d +Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-4.d =================================================================== ---- binutils-2.32.orig/gas/testsuite/gas/i386/x86-64-nop-4.d 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/testsuite/gas/i386/x86-64-nop-4.d 2019-09-09 18:29:44.000000000 +0200 -@@ -20,5 +20,5 @@ Disassembly of section .altinstr_replace +--- 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 +[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.32/gas/testsuite/gas/i386/x86-64-nop-5.d +Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-5.d =================================================================== ---- binutils-2.32.orig/gas/testsuite/gas/i386/x86-64-nop-5.d 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/testsuite/gas/i386/x86-64-nop-5.d 2019-09-09 18:29:44.000000000 +0200 -@@ -23,5 +23,5 @@ Disassembly of section .altinstr_replace +--- 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 +[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.32/gas/testsuite/gas/i386/x86-64-relax-2.d +Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-2.d =================================================================== ---- binutils-2.32.orig/gas/testsuite/gas/i386/x86-64-relax-2.d 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/testsuite/gas/i386/x86-64-relax-2.d 2019-09-09 18:29:44.000000000 +0200 -@@ -10,12 +10,12 @@ Disassembly of section .text: +--- 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 +@@ -11,12 +11,12 @@ Disassembly of section .text: 0+ : [ ]*[a-f0-9]+: eb 24 jmp 26 [ ]*[a-f0-9]+: eb 1e jmp 22 @@ -393,11 +399,11 @@ Index: binutils-2.32/gas/testsuite/gas/i386/x86-64-relax-2.d 0+22 : [ ]*[a-f0-9]+: c3 retq -Index: binutils-2.32/gas/testsuite/gas/i386/x86-64-relax-3.d +Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-3.d =================================================================== ---- binutils-2.32.orig/gas/testsuite/gas/i386/x86-64-relax-3.d 2019-01-19 17:01:33.000000000 +0100 -+++ binutils-2.32/gas/testsuite/gas/i386/x86-64-relax-3.d 2019-09-09 18:29:44.000000000 +0200 -@@ -11,10 +11,10 @@ Disassembly of section .text: +--- 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 +@@ -12,10 +12,10 @@ Disassembly of section .text: [ ]*[a-f0-9]+: eb 1b jmp 1f [ ]*[a-f0-9]+: eb 1b jmp 21 [ ]*[a-f0-9]+: e9 00 00 00 00 jmpq b 7: R_X86_64_PLT32 global_def-0x4 @@ -412,34 +418,27 @@ Index: binutils-2.32/gas/testsuite/gas/i386/x86-64-relax-3.d 0+1f : [ ]*[a-f0-9]+: c3 retq -Index: binutils-2.32/ld/testsuite/ld-x86-64/mpx1c.rd +Index: binutils-2.33.1/ld/testsuite/ld-x86-64/mpx1c.rd =================================================================== ---- binutils-2.32.orig/ld/testsuite/ld-x86-64/mpx1c.rd 2019-01-19 17:01:34.000000000 +0100 -+++ binutils-2.32/ld/testsuite/ld-x86-64/mpx1c.rd 2019-09-09 18:29:44.000000000 +0200 +--- 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 @@ -1,3 +1,3 @@ #... -[0-9a-f ]+R_X86_64_PLT32 +0+ +.* +[0-9a-f ]+R_X86_64_PC32 +0+ +.* #... -Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-1.err +Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-1a.c =================================================================== ---- binutils-2.32.orig/ld/testsuite/ld-x86-64/pr22791-1.err 2019-01-19 17:01:34.000000000 +0100 -+++ /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 -fPIC --#... -Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-1a.c -=================================================================== ---- binutils-2.32.orig/ld/testsuite/ld-x86-64/pr22791-1a.c 2019-01-19 17:01:34.000000000 +0100 +--- 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 @@ -1,4 +0,0 @@ -void -foo (void) -{ -} -Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-1b.s +Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-1b.s =================================================================== ---- binutils-2.32.orig/ld/testsuite/ld-x86-64/pr22791-1b.s 2019-01-19 17:01:34.000000000 +0100 +--- 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 @@ -1,6 +0,0 @@ - .text @@ -448,9 +447,9 @@ Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-1b.s -main: - movl foo(%rip), %eax - .size main, .-main -Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-2.rd +Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2.rd =================================================================== ---- binutils-2.32.orig/ld/testsuite/ld-x86-64/pr22791-2.rd 2019-01-19 17:01:34.000000000 +0100 +--- 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 @@ -1,6 +0,0 @@ -#failif @@ -459,9 +458,9 @@ Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-2.rd -#... -[0-9a-f ]+R_X86_64_NONE.* -#... -Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-2a.s +Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2a.s =================================================================== ---- binutils-2.32.orig/ld/testsuite/ld-x86-64/pr22791-2a.s 2019-01-19 17:01:34.000000000 +0100 +--- 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 @@ -1,8 +0,0 @@ - .text @@ -472,9 +471,9 @@ Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-2a.s - jmp bar - .size foo, .-foo - .section .note.GNU-stack,"",@progbits -Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-2b.c +Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2b.c =================================================================== ---- binutils-2.32.orig/ld/testsuite/ld-x86-64/pr22791-2b.c 2019-01-19 17:01:34.000000000 +0100 +--- 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 @@ -1,7 +0,0 @@ -#include @@ -484,9 +483,9 @@ Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-2b.c -{ - puts ("PASS"); -} -Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-2c.s +Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2c.s =================================================================== ---- binutils-2.32.orig/ld/testsuite/ld-x86-64/pr22791-2c.s 2019-01-19 17:01:34.000000000 +0100 +--- 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 @@ -1,12 +0,0 @@ - .text @@ -501,10 +500,10 @@ Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22791-2c.s - ret - .size main, .-main - .section .note.GNU-stack,"",@progbits -Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22842b.S +Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22842b.S =================================================================== ---- binutils-2.32.orig/ld/testsuite/ld-x86-64/pr22842b.S 2019-01-19 17:01:34.000000000 +0100 -+++ binutils-2.32/ld/testsuite/ld-x86-64/pr22842b.S 2019-09-09 18:29:44.000000000 +0200 +--- 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 @@ -7,7 +7,7 @@ main: leaq bar(%rip), %rdi addq %rax, %rdi @@ -514,11 +513,11 @@ Index: binutils-2.32/ld/testsuite/ld-x86-64/pr22842b.S xorl %eax, %eax popq %rcx retq -Index: binutils-2.32/ld/testsuite/ld-x86-64/x86-64.exp +Index: binutils-2.33.1/ld/testsuite/ld-x86-64/x86-64.exp =================================================================== ---- binutils-2.32.orig/ld/testsuite/ld-x86-64/x86-64.exp 2019-09-09 18:29:44.000000000 +0200 -+++ binutils-2.32/ld/testsuite/ld-x86-64/x86-64.exp 2019-09-09 18:29:44.000000000 +0200 -@@ -1208,44 +1208,6 @@ if { [isnative] && [which $CC] != 0 } { +--- 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 "pr22393-3-static" \ ] \ [list \ @@ -563,7 +562,7 @@ Index: binutils-2.32/ld/testsuite/ld-x86-64/x86-64.exp "Build pr22842.so" \ "-shared" \ "-fPIC -Wa,-mx86-used-note=yes" \ -@@ -1588,15 +1550,6 @@ if { [isnative] && [which $CC] != 0 } { +@@ -1624,15 +1586,6 @@ if { [isnative] && [check_compiler_avail "pass.out" \ ] \ [list \ @@ -579,3 +578,10 @@ Index: binutils-2.32/ld/testsuite/ld-x86-64/x86-64.exp "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 +-#... diff --git a/binutils.changes b/binutils.changes index a03dd6f..e0c3c9d 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/binutils.spec b/binutils.spec index 4dcd59e..bca9421 100644 --- a/binutils.spec +++ b/binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -33,7 +33,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -95,10 +95,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,15 +167,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 54c454f..25470b1 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 25788bf..4ce0958 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index d2c3666..592c72b 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-avr-size.patch b/cross-avr-size.patch index ae4e1b3..aecd302 100644 --- a/cross-avr-size.patch +++ b/cross-avr-size.patch @@ -1,53 +1,16 @@ diff --git a/binutils/size.c b/binutils/size.c -index 93ec02691e..ad7cbee7c5 100644 ---- binutils/size.c -+++ binutils/size.c -@@ -34,10 +34,31 @@ - #include "getopt.h" - #include "bucomm.h" - --#ifndef BSD_DEFAULT --#define BSD_DEFAULT 1 -+typedef enum -+{ -+ format_sysv = 0, -+ format_bsd = 1, -+ format_avr = 2, -+} format_type_t; -+ -+ -+/* Set the default format. */ -+#define FORMAT_DEFAULT_SYSV 0 -+#define FORMAT_DEFAULT_BSD 1 -+#define FORMAT_DEFAULT_AVR 0 -+ -+#if FORMAT_DEFAULT_SYSV -+ #define FORMAT_DEFAULT format_sysv -+ #define FORMAT_NAME "sysv" -+#elif FORMAT_DEFAULT_BSD -+ #define FORMAT_DEFAULT format_bsd -+ #define FORMAT_NAME "berkeley" -+#elif FORMAT_DEFAULT_AVR -+ #define FORMAT_DEFAULT format_avr -+ #define FORMAT_NAME "avr" - #endif - -+ - /* Program options. */ - - static enum -@@ -46,9 +67,8 @@ static enum - } - radix = decimal; - --/* 0 means use AT&T-style output. */ --static int berkeley_format = BSD_DEFAULT; - -+format_type_t format = FORMAT_DEFAULT; - static int show_version = 0; - static int show_help = 0; - static int show_totals = 0; -@@ -62,6 +82,246 @@ static bfd_size_type total_textsize; +index 479a464887..971156ccbe 100644 +--- a/binutils/size.c ++++ b/binutils/size.c +@@ -51,6 +51,7 @@ enum output_format + { + FORMAT_BERKLEY, + FORMAT_SYSV, ++ FORMAT_AVR, + FORMAT_GNU + }; + static enum output_format selected_output_format = +@@ -74,6 +75,246 @@ static bfd_size_type total_textsize; /* Program exit status. */ static int return_code = 0; @@ -294,30 +257,17 @@ index 93ec02691e..ad7cbee7c5 100644 static char *target = NULL; /* Forward declarations. */ -@@ -77,7 +337,8 @@ usage (FILE *stream, int status) +@@ -89,7 +330,8 @@ usage (FILE *stream, int status) fprintf (stream, _(" Displays the sizes of sections inside binary files\n")); fprintf (stream, _(" If no input file(s) are specified, a.out is assumed\n")); fprintf (stream, _(" The options are:\n\ -- -A|-B --format={sysv|berkeley} Select output style (default is %s)\n\ -+ -A|-B|-C --format={sysv|berkeley|avr} Select output style (default is %s)\n\ +- -A|-B|-G --format={sysv|berkeley|gnu} Select output style (default is %s)\n\ ++ -A|-B|-C|-G --format={sysv|berkeley|avr|gnu} Select output style (default is %s)\n\ + --mcu= MCU name for AVR format only\n\ -o|-d|-x --radix={8|10|16} Display numbers in octal, decimal or hex\n\ -t --totals Display the total sizes (Berkeley only)\n\ --common Display total size for *COM* syms\n\ -@@ -86,11 +347,7 @@ usage (FILE *stream, int status) - -h --help Display this information\n\ - -v --version Display the program's version\n\ - \n"), --#if BSD_DEFAULT -- "berkeley" --#else -- "sysv" --#endif -+FORMAT_NAME - ); - list_supported_targets (program_name, stream); - if (REPORT_BUGS_TO[0] && status == 0) -@@ -101,6 +358,7 @@ usage (FILE *stream, int status) +@@ -113,6 +355,7 @@ usage (FILE *stream, int status) #define OPTION_FORMAT (200) #define OPTION_RADIX (OPTION_FORMAT + 1) #define OPTION_TARGET (OPTION_RADIX + 1) @@ -325,7 +275,7 @@ index 93ec02691e..ad7cbee7c5 100644 static struct option long_options[] = { -@@ -108,6 +366,7 @@ static struct option long_options[] = +@@ -120,6 +363,7 @@ static struct option long_options[] = {"format", required_argument, 0, OPTION_FORMAT}, {"radix", required_argument, 0, OPTION_RADIX}, {"target", required_argument, 0, OPTION_TARGET}, @@ -333,34 +283,26 @@ index 93ec02691e..ad7cbee7c5 100644 {"totals", no_argument, &show_totals, 1}, {"version", no_argument, &show_version, 1}, {"help", no_argument, &show_help, 1}, -@@ -141,7 +400,7 @@ main (int argc, char **argv) +@@ -153,13 +397,17 @@ main (int argc, char **argv) fatal (_("fatal error: libbfd ABI mismatch")); set_default_bfd_target (); -- while ((c = getopt_long (argc, argv, "ABHhVvdfotx", long_options, -+ while ((c = getopt_long (argc, argv, "ABCHhVvdfotx", long_options, +- while ((c = getopt_long (argc, argv, "ABGHhVvdfotx", long_options, ++ while ((c = getopt_long (argc, argv, "ABCGHhVvdfotx", long_options, (int *) 0)) != EOF) switch (c) { -@@ -150,11 +409,15 @@ main (int argc, char **argv) + case OPTION_FORMAT: + switch (*optarg) { ++ case 'A': ++ case 'a': ++ selected_output_format = FORMAT_AVR; ++ break; case 'B': case 'b': -- berkeley_format = 1; -+ format = format_bsd; - break; - case 'S': - case 's': -- berkeley_format = 0; -+ format = format_sysv; -+ break; -+ case 'A': -+ case 'a': -+ format = format_avr; - break; - default: - non_fatal (_("invalid argument to --format: %s"), optarg); -@@ -162,6 +425,10 @@ main (int argc, char **argv) + selected_output_format = FORMAT_BERKLEY; +@@ -178,6 +426,10 @@ main (int argc, char **argv) } break; @@ -371,37 +313,20 @@ index 93ec02691e..ad7cbee7c5 100644 case OPTION_TARGET: target = optarg; break; -@@ -190,11 +457,14 @@ main (int argc, char **argv) - break; - - case 'A': -- berkeley_format = 0; -+ format = format_sysv; - break; +@@ -211,6 +463,9 @@ main (int argc, char **argv) case 'B': -- berkeley_format = 1; -+ format = format_bsd; + selected_output_format = FORMAT_BERKLEY; break; -+ case 'C': -+ format = format_avr; -+ break; - case 'v': - case 'V': - show_version = 1; -@@ -240,7 +510,7 @@ main (int argc, char **argv) - for (; optind < argc;) - display_file (argv[optind++]); - -- if (show_totals && berkeley_format) -+ if (show_totals && format == format_bsd) - { - bfd_size_type total = total_textsize + total_datasize + total_bsssize; - -@@ -606,13 +876,117 @@ print_sysv_format (bfd *file) ++ case 'C': ++ selected_output_format = FORMAT_AVR; ++ break; + case 'G': + selected_output_format = FORMAT_GNU; + break; +@@ -648,13 +903,115 @@ print_sysv_format (bfd *file) printf ("\n\n"); } -+ +static avr_device_t * +avr_find_device (void) +{ @@ -420,8 +345,6 @@ index 93ec02691e..ad7cbee7c5 100644 + return (NULL); +} + -+ -+ +static void +print_avr_format (bfd *file) +{ @@ -430,9 +353,9 @@ index 93ec02691e..ad7cbee7c5 100644 + int rammax = 0; + int eeprommax = 0; + asection *section; -+ bfd_size_type datasize = 0; -+ bfd_size_type textsize = 0; -+ bfd_size_type bsssize = 0; ++ datasize = 0; ++ textsize = 0; ++ bsssize = 0; + bfd_size_type bootloadersize = 0; + bfd_size_type noinitsize = 0; + bfd_size_type eepromsize = 0; @@ -501,19 +424,20 @@ index 93ec02691e..ad7cbee7c5 100644 { if (show_common) calculate_common_size (file); -- if (berkeley_format) -- print_berkeley_format (file); -- else +- if (selected_output_format == FORMAT_SYSV) - print_sysv_format (file); -+ switch (format) +- else +- print_berkeley_or_gnu_format (file); ++ switch (selected_output_format) + { -+ case format_sysv: ++ case FORMAT_SYSV: + print_sysv_format (file); + break; -+ case format_bsd: -+ print_berkeley_format (file); ++ case FORMAT_BERKLEY: ++ case FORMAT_GNU: ++ print_berkeley_or_gnu_format (file); + break; -+ case format_avr: ++ case FORMAT_AVR: + default: + print_avr_format (file); + break; diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index 44eed95..673c320 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 36a66e7..029c4fd 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index fdc2cf8..b9b7462 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 660d899..8a2fff9 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 58d5d0e..7d375f6 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index fdb0614..908e4c8 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 9171d78..e325d06 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index e3bf8d3..c6e1a36 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index d43bc74..cade2a2 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index 3a84ec7..37844e9 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index 99f3ee9..c0f1fe2 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index 3f4238f..f4adb6a 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index d5bf1b3..a4e95ff 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 7286727..5578fde 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index fe0bb3b..4b4d607 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 9bd8b88..ddece5c 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 3ca9cc5..5736845 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 7096ff6..5e746b0 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/cross-xtensa-binutils.changes b/cross-xtensa-binutils.changes index a03dd6f..e0c3c9d 100644 --- a/cross-xtensa-binutils.changes +++ b/cross-xtensa-binutils.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Tue Oct 22 13:45:51 UTC 2019 - Martin Liška + +- Update to binutils 2.33.1: + * Adds support for the Arm Scalable Vector Extension version 2 + (SVE2) instructions, the Arm Transactional Memory Extension (TME) + instructions and the Armv8.1-M Mainline and M-profile Vector + Extension (MVE) instructions. + * Adds support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P + processors and the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE, + Cortex-A76AE, and Cortex-A77 processors. + * Adds a .float16 directive for both Arm and AArch64 to allow + encoding of 16-bit floating point literals. + * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) + Loongson3 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] + configure time option to set the default behavior. Set the default + if the configure option is not used to "no". + * The Cortex-A53 Erratum 843419 workaround now supports a choice of + which workaround to use. The option --fix-cortex-a53-843419 now + takes an optional argument --fix-cortex-a53-843419[=full|adr|adrp] + which can be used to force a particular workaround to be used. + See --help for AArch64 for more details. + * Add support for GNU_PROPERTY_AARCH64_FEATURE_1_BTI and + GNU_PROPERTY_AARCH64_FEATURE_1_PAC in ELF GNU program properties + in the AArch64 ELF linker. + * Add -z force-bti for AArch64 to enable GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on output while warning about missing GNU_PROPERTY_AARCH64_FEATURE_1_BTI + on inputs and use PLTs protected with BTI. + * Add -z pac-plt for AArch64 to pick PAC enabled PLTs. + * Add --source-comment[=] option to objdump which if present, + provides a prefix to source code lines displayed in a disassembly. + * Add --set-section-alignment = + option to objcopy to allow the changing of section alignments. + * Add --verilog-data-width option to objcopy for verilog targets to + control width of data elements in verilog hex format. + * The separate debug info file options of readelf (--debug-dump=links + and --debug-dump=follow) and objdump (--dwarf=links and + --dwarf=follow-links) will now display and/or follow multiple + links if more than one are present in a file. (This usually + happens when gcc's -gsplit-dwarf option is used). + In addition objdump's --dwarf=follow-links now also affects its + other display options, so that for example, when combined with + --syms it will cause the symbol tables in any linked debug info + files to also be displayed. In addition when combined with + --disassemble the --dwarf= follow-links option will ensure that + any symbol tables in the linked files are read and used when + disassembling code in the main file. + * Add support for dumping types encoded in the Compact Type Format + to objdump and readelf. +- Includes fixes for these CVEs: + bnc#1126826 aka CVE-2019-9077 aka PR1126826 + bnc#1126829 aka CVE-2019-9075 aka PR1126829 + bnc#1126831 aka CVE-2019-9074 aka PR24235 + bnc#1140126 aka CVE-2019-12972 aka PR23405 + bnc#1143609 aka CVE-2019-14444 aka PR24829 + bnc#1142649 aka CVE-2019-14250 aka PR90924 +- Remove patches that are now included in the release: + binutils-2.32-branch.diff.gz, binutils-fix-ld-segv.diff, + binutils-pr24486.patch, riscv-abi-check.patch, + rx-gas-padding-pr24464.patch. +- Add binutils-2.33-branch.diff.gz patch. +- Rebase binutils-revert-plt32-in-branches.diff and + cross-avr-size.patch patch. + ------------------------------------------------------------------- Tue Oct 15 14:05:57 UTC 2019 - matz@suse.com diff --git a/cross-xtensa-binutils.spec b/cross-xtensa-binutils.spec index d629b26..ddcff2d 100644 --- a/cross-xtensa-binutils.spec +++ b/cross-xtensa-binutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.32 +Version: 2.33.1 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.32-branch.diff.gz +Patch1: binutils-2.33-branch.diff.gz Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff Patch5: x86-64-biarch.patch @@ -98,10 +98,6 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff -Patch38: riscv-abi-check.patch -Patch39: rx-gas-padding-pr24464.patch -Patch40: binutils-pr24486.patch -Patch41: binutils-fix-ld-segv.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -174,15 +170,11 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 %patch92 -%patch93 +%patch93 -p1 %endif # # test_vanilla diff --git a/riscv-abi-check.patch b/riscv-abi-check.patch deleted file mode 100644 index 451159b..0000000 --- a/riscv-abi-check.patch +++ /dev/null @@ -1,69 +0,0 @@ -2019-04-02 Jim Wilson - - PR 24389 - * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Move read of - ELF header flags to after check for ELF object file. Loop through - sections looking for code sections, if none, then skip ABI checks. - -diff --git a/bfd/elfnn-riscv.c b/bfd/elfnn-riscv.c -index dba1025994f..964b6bdcbcc 100644 ---- a/bfd/elfnn-riscv.c -+++ b/bfd/elfnn-riscv.c -@@ -3086,8 +3086,7 @@ static bfd_boolean - _bfd_riscv_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info) - { - bfd *obfd = info->output_bfd; -- flagword new_flags = elf_elfheader (ibfd)->e_flags; -- flagword old_flags = elf_elfheader (obfd)->e_flags; -+ flagword new_flags, old_flags; - - if (!is_riscv_elf (ibfd) || !is_riscv_elf (obfd)) - return TRUE; -@@ -3107,6 +3106,9 @@ _bfd_riscv_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info) - if (!riscv_merge_attributes (ibfd, info)) - return FALSE; - -+ new_flags = elf_elfheader (ibfd)->e_flags; -+ old_flags = elf_elfheader (obfd)->e_flags; -+ - if (! elf_flags_init (obfd)) - { - elf_flags_init (obfd) = TRUE; -@@ -3114,6 +3116,34 @@ _bfd_riscv_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info) - return TRUE; - } - -+ /* Check to see if the input BFD actually contains any sections. If not, -+ its flags may not have been initialized either, but it cannot actually -+ cause any incompatibility. Do not short-circuit dynamic objects; their -+ section list may be emptied by elf_link_add_object_symbols. -+ -+ Also check to see if there are no code sections in the input. In this -+ case, there is no need to check for code specific flags. */ -+ if (!(ibfd->flags & DYNAMIC)) -+ { -+ bfd_boolean null_input_bfd = TRUE; -+ bfd_boolean only_data_sections = TRUE; -+ asection *sec; -+ -+ for (sec = ibfd->sections; sec != NULL; sec = sec->next) -+ { -+ if ((bfd_get_section_flags (ibfd, sec) -+ & (SEC_LOAD | SEC_CODE | SEC_HAS_CONTENTS)) -+ == (SEC_LOAD | SEC_CODE | SEC_HAS_CONTENTS)) -+ only_data_sections = FALSE; -+ -+ null_input_bfd = FALSE; -+ break; -+ } -+ -+ if (null_input_bfd || only_data_sections) -+ return TRUE; -+ } -+ - /* Disallow linking different float ABIs. */ - if ((old_flags ^ new_flags) & EF_RISCV_FLOAT_ABI) - { --- -2.21.0 - diff --git a/rx-gas-padding-pr24464.patch b/rx-gas-padding-pr24464.patch deleted file mode 100644 index 076f498..0000000 --- a/rx-gas-padding-pr24464.patch +++ /dev/null @@ -1,87 +0,0 @@ -From 5ce032bdfc60a8f44f6307b2297384c852100f95 Mon Sep 17 00:00:00 2001 -From: Nick Clifton -Date: Fri, 19 Apr 2019 10:39:47 +0100 -Subject: [PATCH] RX Assembler: Ensure that the internal limit on the number of - relaxation iterations is not larger that the external limit. - - PR 24464 - * config/tc-rx.h (md_relax_frag): Pass the max_iterations variable - to the relaxation function. - * config/tc-rx.c (rx_relax_frag): Add new parameter - the maximum - number of iterations. Make sure that our internal iteration limit - does not exceed this external iteration limit. ---- - gas/ChangeLog | 9 +++++++++ - gas/config/tc-rx.c | 19 +++++++++++++------ - gas/config/tc-rx.h | 11 +++++++++-- - 3 files changed, 31 insertions(+), 8 deletions(-) - -diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c -index 8688837b31..6b19f2f397 100644 ---- a/gas/config/tc-rx.c -+++ b/gas/config/tc-rx.c -@@ -740,8 +740,8 @@ typedef struct rx_bytesT - int n_relax; - int link_relax; - fixS *link_relax_fixP; -- char times_grown; -- char times_shrank; -+ unsigned long times_grown; -+ unsigned long times_shrank; - } rx_bytesT; - - static rx_bytesT rx_bytes; -@@ -1558,7 +1558,7 @@ rx_next_opcode (fragS *fragP) - fr_subtype to calculate the difference. */ - - int --rx_relax_frag (segT segment ATTRIBUTE_UNUSED, fragS * fragP, long stretch) -+rx_relax_frag (segT segment ATTRIBUTE_UNUSED, fragS * fragP, long stretch, unsigned long max_iterations) - { - addressT addr0, sym_addr; - addressT mypc; -@@ -1755,9 +1755,16 @@ rx_relax_frag (segT segment ATTRIBUTE_UNUSED, fragS * fragP, long stretch) - /* This prevents infinite loops in align-heavy sources. */ - if (newsize < oldsize) - { -- if (fragP->tc_frag_data->times_shrank > 10 -- && fragP->tc_frag_data->times_grown > 10) -- newsize = oldsize; -+ /* Make sure that our iteration limit is no bigger than the one being -+ used inside write.c:relax_segment(). Otherwise we can end up -+ iterating for too long, and triggering a fatal error there. See -+ PR 24464 for more details. */ -+ unsigned long limit = max_iterations > 10 ? 10 : max_iterations; -+ -+ if (fragP->tc_frag_data->times_shrank > limit -+ && fragP->tc_frag_data->times_grown > limit) -+ newsize = oldsize; -+ - if (fragP->tc_frag_data->times_shrank < 20) - fragP->tc_frag_data->times_shrank ++; - } -diff --git a/gas/config/tc-rx.h b/gas/config/tc-rx.h -index 09c50f9471..69302e565b 100644 ---- a/gas/config/tc-rx.h -+++ b/gas/config/tc-rx.h -@@ -54,8 +54,15 @@ - #define md_end rx_md_end - extern void rx_md_end (void); - --#define md_relax_frag rx_relax_frag --extern int rx_relax_frag (segT, fragS *, long); -+/* Note - the definition of MD_RELAX_FRAG here includes a reference to the -+ MAX_ITERATIONS variable which is defined locally in write.c:relax_segment() -+ but which is not normally passed to target specific relaxing code. This -+ reference is needed however as the number of iterations of the RX relaxing -+ code needs to be constrained by the maximum number of iterations allowed -+ by relax_segment(). See PR 24464 for more details. */ -+#define md_relax_frag(SEG, FRAGP, STRETCH) \ -+ rx_relax_frag ((SEG), (FRAGP), (STRETCH), max_iterations) -+extern int rx_relax_frag (segT, fragS *, long, unsigned long); - - #define TC_FRAG_TYPE struct rx_bytesT * - #define TC_FRAG_INIT rx_frag_init --- -2.21.0 -