diff --git a/aarch64-alignment-frags.patch b/aarch64-alignment-frags.patch new file mode 100644 index 0000000..907e10f --- /dev/null +++ b/aarch64-alignment-frags.patch @@ -0,0 +1,110 @@ +From 7ea12e5c3ad54da440c08f32da09534e63e515ca Mon Sep 17 00:00:00 2001 +From: Nick Clifton +Date: Fri, 5 Aug 2016 10:37:57 +0100 +Subject: [PATCH] Fix the generation of alignment frags in code sections for + AArch64. + + PR gas/20364 + * config/tc-aarch64.c (s_ltorg): Change the mapping state after + aligning the frag. + (aarch64_init): Treat rs_align frags in code sections as + containing code, not data. + * testsuite/gas/aarch64/pr20364.s: New test. + * testsuite/gas/aarch64/pr20364.d: New test driver. +--- + gas/ChangeLog | 10 ++++++++++ + gas/config/tc-aarch64.c | 10 +++++++--- + gas/testsuite/gas/aarch64/pr20364.d | 13 +++++++++++++ + gas/testsuite/gas/aarch64/pr20364.s | 28 ++++++++++++++++++++++++++++ + 4 files changed, 58 insertions(+), 3 deletions(-) + create mode 100644 gas/testsuite/gas/aarch64/pr20364.d + create mode 100644 gas/testsuite/gas/aarch64/pr20364.s + +Index: binutils-2.27/gas/config/tc-aarch64.c +=================================================================== +--- binutils-2.27.orig/gas/config/tc-aarch64.c ++++ binutils-2.27/gas/config/tc-aarch64.c +@@ -1736,13 +1736,13 @@ s_ltorg (int ignored ATTRIBUTE_UNUSED) + if (pool == NULL || pool->symbol == NULL || pool->next_free_entry == 0) + continue; + +- mapping_state (MAP_DATA); +- + /* Align pool as you have word accesses. + Only make a frag if we have to. */ + if (!need_pass_2) + frag_align (align, 0, 0); + ++ mapping_state (MAP_DATA); ++ + record_alignment (now_seg, align); + + sprintf (sym_name, "$$lit_\002%x", pool->id); +@@ -6373,11 +6373,15 @@ aarch64_init_frag (fragS * fragP, int ma + + switch (fragP->fr_type) + { +- case rs_align: + case rs_align_test: + case rs_fill: + mapping_state_2 (MAP_DATA, max_chars); + break; ++ case rs_align: ++ /* PR 20364: We can get alignment frags in code sections, ++ so do not just assume that we should use the MAP_DATA state. */ ++ mapping_state_2 (subseg_text_p (now_seg) ? MAP_INSN : MAP_DATA, max_chars); ++ break; + case rs_align_code: + mapping_state_2 (MAP_INSN, max_chars); + break; +Index: binutils-2.27/gas/testsuite/gas/aarch64/pr20364.d +=================================================================== +--- /dev/null ++++ binutils-2.27/gas/testsuite/gas/aarch64/pr20364.d +@@ -0,0 +1,13 @@ ++# Check that ".align , " does not set the mapping state to DATA, causing unnecessary frag generation. ++#name: PR20364 ++#objdump: -d ++ ++.*: file format .* ++ ++Disassembly of section \.vectors: ++ ++0+000 <.*>: ++ 0: d2800000 mov x0, #0x0 // #0 ++ 4: 94000000 bl 0 ++ 8: 17fffffe b 0 ++ +Index: binutils-2.27/gas/testsuite/gas/aarch64/pr20364.s +=================================================================== +--- /dev/null ++++ binutils-2.27/gas/testsuite/gas/aarch64/pr20364.s +@@ -0,0 +1,28 @@ ++ .macro vector_base label ++ .section .vectors, "ax" ++ .align 11, 0 ++ \label: ++ .endm ++ ++ .macro vector_entry label ++ .section .vectors, "ax" ++ .align 7, 0 ++ \label: ++ .endm ++ ++ .macro check_vector_size since ++ .if (. - \since) > (32 * 4) ++ .error "Vector exceeds 32 instructions" ++ .endif ++ .endm ++ ++ .globl bl1_exceptions ++ ++vector_base bl1_exceptions ++ ++vector_entry SynchronousExceptionSP0 ++ mov x0, #0x0 ++ bl plat_report_exception ++ b SynchronousExceptionSP0 ++ check_vector_size SynchronousExceptionSP0 ++ diff --git a/binutils.changes b/binutils.changes index 769fd10..7ce41bc 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/binutils.spec b/binutils.spec index c41a834..1703abc 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1,7 +1,7 @@ # # spec file for package binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -100,6 +100,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -120,7 +121,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -177,6 +178,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -411,6 +413,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -438,6 +441,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index c1e568d..56e4914 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-aarch64-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index e24c7a1..57cfe3a 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-arm-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 9c7548c..28cb399 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-avr-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index 55494e3..aee24b3 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-epiphany-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 2498fce..7b4f7a6 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 9a076bb..7f5fc58 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa64-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 4e5a9ce..80f19e8 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-i386-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 3973726..f083638 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ia64-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 78b1f1a..4d48871 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-m68k-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 4860931..0dc3eb2 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-mips-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 64171cc..81639c5 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 3b7996e..4cabda3 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index 5bf1d0c..ac4653b 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64le-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index f7fcd9f..a36b553 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-rx-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index c3aa389..d82720c 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index aca0a19..9912dd2 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390x-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 48a4e80..0b96f81 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 31920de..c755f7b 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc64-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index f03ddb5..8367547 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-spu-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 769fd10..7ce41bc 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 11:42:02 UTC 2017 - rguenther@suse.com + +- Add s390x to gold_archs. + +------------------------------------------------------------------- +Mon Feb 6 15:25:44 UTC 2017 - afaerber@suse.de + +- Fix alignment frags for aarch64 (boo#1003846) + aarch64-alignment-frags.patch + +------------------------------------------------------------------- +Sun Dec 18 18:36:08 UTC 2016 - jengelh@inai.de + +- Call ldconfig for libbfd + ------------------------------------------------------------------- Tue Nov 30 09:55:02 UTC 2016 - idonmez@suse.com diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 52cb163..c384fde 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-x86_64-binutils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ Patch22: binutils-bfd_h.patch 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 +Patch35: aarch64-alignment-frags.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -123,7 +124,7 @@ Requires: binutils = %{version}-%{release} PreReq: update-alternatives %if 0%{suse_version} > 1100 %if 0%{!?cross:1} -%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le %sparc +%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc %endif %endif @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -414,6 +416,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post +/sbin/ldconfig "%_sbindir/update-alternatives" --install \ "%_bindir/ld" ld "%_bindir/ld.bfd" 2 %install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz @@ -441,6 +444,8 @@ if [ "$1" = 0 ]; then "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; fi; +%postun +/sbin/ldconfig %endif %files -f binutils.lang