Hello community, here is the log from the commit of package binutils for openSUSE:Factory checked in at 2016-12-03 18:22:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/binutils (Old) and /work/SRC/openSUSE:Factory/.binutils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "binutils" Changes: -------- --- /work/SRC/openSUSE:Factory/binutils/binutils.changes 2016-09-01 14:00:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.binutils.new/binutils.changes 2016-12-03 18:22:41.000000000 +0100 @@ -1,0 +2,20 @@ +Tue Nov 30 09:55:02 UTC 2016 - idon...@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 - rguent...@suse.com + +- Update binutils-2.27-branch.diff to include recent fixes from the branch. +- Add binutils-2.27-fix-section-order.diff to restore monotonically + increasing section offsets. + +------------------------------------------------------------------- +Tue Oct 4 16:58:56 UTC 2016 - stefan.bru...@rwth-aachen.de + +- Remove qemu workaround from spec file, since qemu 2.5.0rc0 the + length of the argument list is no longer limited to 128 kByte. + +------------------------------------------------------------------- cross-aarch64-binutils.changes: same change cross-arm-binutils.changes: same change cross-avr-binutils.changes: same change cross-epiphany-binutils.changes: same change cross-hppa-binutils.changes: same change cross-hppa64-binutils.changes: same change cross-i386-binutils.changes: same change cross-ia64-binutils.changes: same change cross-m68k-binutils.changes: same change cross-mips-binutils.changes: same change cross-ppc-binutils.changes: same change cross-ppc64-binutils.changes: same change cross-ppc64le-binutils.changes: same change cross-rx-binutils.changes: same change cross-s390-binutils.changes: same change cross-s390x-binutils.changes: same change cross-sparc-binutils.changes: same change cross-sparc64-binutils.changes: same change cross-spu-binutils.changes: same change cross-x86_64-binutils.changes: same change New: ---- binutils-2.27-fix-section-order.diff refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ binutils.spec ++++++ --- /var/tmp/diff_new_pack.s3hDUZ/_old 2016-12-03 18:22:46.000000000 +0100 +++ /var/tmp/diff_new_pack.s3hDUZ/_new 2016-12-03 18:22:46.000000000 +0100 @@ -96,6 +96,9 @@ Patch14: binutils-build-as-needed.diff 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 @@ -171,6 +174,8 @@ %patch14 %patch18 %patch22 +%patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h @@ -181,10 +186,6 @@ # # test_vanilla %endif -%if 0%{?qemu_user_space_build} -# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long) -sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in} -%endif %build sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h ++++++ cross-aarch64-binutils.spec ++++++ --- /var/tmp/diff_new_pack.s3hDUZ/_old 2016-12-03 18:22:46.000000000 +0100 +++ /var/tmp/diff_new_pack.s3hDUZ/_new 2016-12-03 18:22:46.000000000 +0100 @@ -99,6 +99,9 @@ Patch14: binutils-build-as-needed.diff 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 +177,8 @@ %patch14 %patch18 %patch22 +%patch23 -p1 +%patch24 -p1 %patch34 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h @@ -184,10 +189,6 @@ # # test_vanilla %endif -%if 0%{?qemu_user_space_build} -# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long) -sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in} -%endif %build sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h cross-arm-binutils.spec: same change cross-avr-binutils.spec: same change cross-epiphany-binutils.spec: same change cross-hppa-binutils.spec: same change cross-hppa64-binutils.spec: same change cross-i386-binutils.spec: same change cross-ia64-binutils.spec: same change cross-m68k-binutils.spec: same change cross-mips-binutils.spec: same change cross-ppc-binutils.spec: same change cross-ppc64-binutils.spec: same change cross-ppc64le-binutils.spec: same change cross-rx-binutils.spec: same change cross-s390-binutils.spec: same change cross-s390x-binutils.spec: same change cross-sparc-binutils.spec: same change cross-sparc64-binutils.spec: same change cross-spu-binutils.spec: same change cross-x86_64-binutils.spec: same change ++++++ binutils-2.27-branch.diff ++++++ ++++ 1421 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/binutils/binutils-2.27-branch.diff ++++ and /work/SRC/openSUSE:Factory/.binutils.new/binutils-2.27-branch.diff ++++++ binutils-2.27-fix-section-order.diff ++++++ ++++ 2205 lines (skipped) ++++++ refine_.cfi_sections_check_to_only_consider_compact_eh_frame.patch ++++++ >From 3d3424e9a8d6ad56160b98bf6e223c0346164468 Mon Sep 17 00:00:00 2001 From: Matthew Fortune <matthew.fort...@imgtec.com> 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" }