From 265dc4928d734f0d5c49776f136c0b6f38fd6dbb2a27197ec9e82aa26b31c6dc Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 30 Nov 2016 12:49:54 +0000 Subject: [PATCH] Accepting request 442826 from home:namtrac:branches:devel:gcc - Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch from upstream to fix an assembler problem with clang on ARM. Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 - Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch from upstream to fix an assembler problem with clang on ARM. Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 - Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch from upstream to fix an assembler problem with clang on ARM. Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 - Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch from upstream to fix an assembler problem with clang on ARM. Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 - Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch from upstream to fix an assembler problem with clang on ARM. Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 - Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch from upstream to fix an assembler problem with clang on ARM. Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 - Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch from upstream to fix an assembler problem with clang on ARM. Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 - Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch from upstream to fix an assembler problem with clang on ARM. OBS-URL: https://build.opensuse.org/request/show/442826 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=221 --- binutils.changes | 7 ++ binutils.spec | 2 + cross-aarch64-binutils.changes | 7 ++ cross-aarch64-binutils.spec | 2 + cross-arm-binutils.changes | 7 ++ cross-arm-binutils.spec | 2 + cross-avr-binutils.changes | 7 ++ cross-avr-binutils.spec | 2 + cross-epiphany-binutils.changes | 7 ++ cross-epiphany-binutils.spec | 2 + cross-hppa-binutils.changes | 7 ++ cross-hppa-binutils.spec | 2 + cross-hppa64-binutils.changes | 7 ++ cross-hppa64-binutils.spec | 2 + cross-i386-binutils.changes | 7 ++ cross-i386-binutils.spec | 2 + cross-ia64-binutils.changes | 7 ++ cross-ia64-binutils.spec | 2 + cross-m68k-binutils.changes | 7 ++ cross-m68k-binutils.spec | 2 + cross-mips-binutils.changes | 7 ++ cross-mips-binutils.spec | 2 + cross-ppc-binutils.changes | 7 ++ cross-ppc-binutils.spec | 2 + cross-ppc64-binutils.changes | 7 ++ cross-ppc64-binutils.spec | 2 + cross-ppc64le-binutils.changes | 7 ++ cross-ppc64le-binutils.spec | 2 + cross-rx-binutils.changes | 7 ++ cross-rx-binutils.spec | 2 + cross-s390-binutils.changes | 7 ++ cross-s390-binutils.spec | 2 + cross-s390x-binutils.changes | 7 ++ cross-s390x-binutils.spec | 2 + cross-sparc-binutils.changes | 7 ++ cross-sparc-binutils.spec | 2 + cross-sparc64-binutils.changes | 7 ++ cross-sparc64-binutils.spec | 2 + cross-spu-binutils.changes | 7 ++ cross-spu-binutils.spec | 2 + cross-x86_64-binutils.changes | 7 ++ cross-x86_64-binutils.spec | 2 + ...ck_to_only_consider_compact_eh_frame.patch | 94 +++++++++++++++++++ 43 files changed, 283 insertions(+) create mode 100644 refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch diff --git a/binutils.changes b/binutils.changes index 95831c9..769fd10 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/binutils.spec b/binutils.spec index 53da55c..c41a834 100644 --- a/binutils.spec +++ b/binutils.spec @@ -98,6 +98,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -174,6 +175,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 95831c9..769fd10 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 8dea5e2..c1e568d 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 95831c9..769fd10 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 3264536..e24c7a1 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 95831c9..769fd10 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index b8df53f..9c7548c 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index 95831c9..769fd10 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index 03ebb03..55494e3 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 95831c9..769fd10 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 6423727..2498fce 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 95831c9..769fd10 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 663550b..9a076bb 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 95831c9..769fd10 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 4961f95..4e5a9ce 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 95831c9..769fd10 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index c166105..3973726 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 95831c9..769fd10 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index a48780c..78b1f1a 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 95831c9..769fd10 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 68ba9e8..4860931 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 95831c9..769fd10 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 36993de..64171cc 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 95831c9..769fd10 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 33fe55d..3b7996e 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 95831c9..769fd10 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index e4f3a54..5bf1d0c 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index 95831c9..769fd10 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index 5440e0f..f7fcd9f 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 95831c9..769fd10 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index b0bc287..c3aa389 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 95831c9..769fd10 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 19b967d..aca0a19 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 95831c9..769fd10 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 036f583..48a4e80 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 95831c9..769fd10 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 866ec5c..31920de 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 95831c9..769fd10 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 7332db3..f03ddb5 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 95831c9..769fd10 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com + +- Add refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch + from upstream to fix an assembler problem with clang on ARM. + Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=20648 + ------------------------------------------------------------------- Mon Nov 28 13:16:47 UTC 2016 - rguenther@suse.com diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index ced82ec..52cb163 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch # Backport dd90581873482f67922 Patch23: binutils-2.27-fix-section-order.diff +Patch24: refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch Patch34: aarch64-common-pagesize.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch b/refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch new file mode 100644 index 0000000..188ef56 --- /dev/null +++ b/refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch @@ -0,0 +1,94 @@ +From 3d3424e9a8d6ad56160b98bf6e223c0346164468 Mon Sep 17 00:00:00 2001 +From: Matthew Fortune +Date: Thu, 29 Sep 2016 11:13:46 +0100 +Subject: [PATCH] Refine .cfi_sections check to only consider compact eh_frame + +The .cfi_sections directive can be safely used multiple times +with different sections named at any time unless the compact form +of exception handling is requested after CFI information has +been emitted. Only the compact form of CFI information changes +the way in which CFI is generated and therefore cannot be +retrospectively requested after generating CFI information. + +gas/ + + PR gas/20648 + * dw2gencfi.c (dot_cfi_sections): Refine the check for + inconsistent .cfi_sections to only consider compact vs non + compact forms. + * testsuite/gas/cfi/cfi-common-9.d: New file. + * testsuite/gas/cfi/cfi-common-9.s: New file. + * testsuite/gas/cfi/cfi.exp: Run new test. +--- + gas/ChangeLog | 10 ++++++++++ + gas/dw2gencfi.c | 5 ++++- + gas/testsuite/gas/cfi/cfi-common-9.d | 23 +++++++++++++++++++++++ + gas/testsuite/gas/cfi/cfi-common-9.s | 4 ++++ + gas/testsuite/gas/cfi/cfi.exp | 1 + + 5 files changed, 42 insertions(+), 1 deletions(-) + create mode 100644 gas/testsuite/gas/cfi/cfi-common-9.d + create mode 100644 gas/testsuite/gas/cfi/cfi-common-9.s + +Index: binutils-2.27/gas/dw2gencfi.c +=================================================================== +--- binutils-2.27.orig/gas/dw2gencfi.c ++++ binutils-2.27/gas/dw2gencfi.c +@@ -1244,7 +1244,10 @@ dot_cfi_sections (int ignored ATTRIBUTE_ + } + + demand_empty_rest_of_line (); +- if (cfi_sections_set && cfi_sections != sections) ++ if (cfi_sections_set ++ && (sections & (CFI_EMIT_eh_frame | CFI_EMIT_eh_frame_compact)) ++ && (cfi_sections & (CFI_EMIT_eh_frame | CFI_EMIT_eh_frame_compact)) ++ != (sections & (CFI_EMIT_eh_frame | CFI_EMIT_eh_frame_compact))) + as_bad (_("inconsistent uses of .cfi_sections")); + cfi_sections = sections; + } +Index: binutils-2.27/gas/testsuite/gas/cfi/cfi-common-9.d +=================================================================== +--- /dev/null ++++ binutils-2.27/gas/testsuite/gas/cfi/cfi-common-9.d +@@ -0,0 +1,23 @@ ++#objdump: -Wf ++#name: CFI common 9 ++#... ++Contents of the .eh_frame section: ++ ++00000000 0+0010 0+0000 CIE ++ Version: 1 ++ Augmentation: "zR" ++ Code alignment factor: .* ++ Data alignment factor: .* ++ Return address column: .* ++ Augmentation data: [01]b ++ ++ DW_CFA_nop ++ DW_CFA_nop ++ DW_CFA_nop ++ ++00000014 0+00(10|18|1c|20) 0+0018 FDE cie=0+0000 pc=.* ++ ++ DW_CFA_nop ++ DW_CFA_nop ++ DW_CFA_nop ++#... +Index: binutils-2.27/gas/testsuite/gas/cfi/cfi-common-9.s +=================================================================== +--- /dev/null ++++ binutils-2.27/gas/testsuite/gas/cfi/cfi-common-9.s +@@ -0,0 +1,4 @@ ++ .cfi_sections .eh_frame ++ .cfi_startproc simple ++ .cfi_sections .debug_frame ++ .cfi_endproc +Index: binutils-2.27/gas/testsuite/gas/cfi/cfi.exp +=================================================================== +--- binutils-2.27.orig/gas/testsuite/gas/cfi/cfi.exp ++++ binutils-2.27/gas/testsuite/gas/cfi/cfi.exp +@@ -135,4 +135,5 @@ if { ![istarget "hppa64*-*"] } then { + run_dump_test "cfi-common-6" + } + run_dump_test "cfi-common-7" ++ run_dump_test "cfi-common-9" + }