diff --git a/aarch64-gc-section-support.patch b/aarch64-gc-section-support.patch new file mode 100644 index 0000000..2d4194a --- /dev/null +++ b/aarch64-gc-section-support.patch @@ -0,0 +1,166 @@ +Index: binutils-2.23.1/bfd/elf64-aarch64.c +=================================================================== +--- binutils-2.23.1.orig/bfd/elf64-aarch64.c ++++ binutils-2.23.1/bfd/elf64-aarch64.c +@@ -4823,6 +4823,138 @@ elf64_aarch64_gc_sweep_hook (bfd *abfd A + const Elf_Internal_Rela * + relocs ATTRIBUTE_UNUSED) + { ++ struct elf64_aarch64_link_hash_table *htab; ++ Elf_Internal_Shdr *symtab_hdr; ++ struct elf_link_hash_entry **sym_hashes; ++ bfd_signed_vma *local_got_refcounts; ++ const Elf_Internal_Rela *rel, *relend; ++ ++ if (info->relocatable) ++ return TRUE; ++ ++ htab = elf64_aarch64_hash_table (info); ++ ++ if (htab == NULL) ++ return FALSE; ++ ++ elf_section_data (sec)->local_dynrel = NULL; ++ ++ symtab_hdr = &elf_symtab_hdr (abfd); ++ sym_hashes = elf_sym_hashes (abfd); ++ ++ local_got_refcounts = elf_local_got_refcounts (abfd); ++ ++ relend = relocs + sec->reloc_count; ++ for (rel = relocs; rel < relend; rel++) ++ { ++ unsigned long r_symndx; ++ unsigned int r_type; ++ struct elf_link_hash_entry *h = NULL; ++ ++ r_symndx = ELF64_R_SYM (rel->r_info); ++ ++ if (r_symndx >= symtab_hdr->sh_info) ++ { ++ struct elf64_aarch64_link_hash_entry *eh; ++ struct elf_dyn_relocs **pp; ++ struct elf_dyn_relocs *p; ++ ++ h = sym_hashes[r_symndx - symtab_hdr->sh_info]; ++ while (h->root.type == bfd_link_hash_indirect ++ || h->root.type == bfd_link_hash_warning) ++ h = (struct elf_link_hash_entry *) h->root.u.i.link; ++ eh = (struct elf64_aarch64_link_hash_entry *) h; ++ ++ for (pp = &eh->dyn_relocs; (p = *pp) != NULL; pp = &p->next) ++ { ++ if (p->sec == sec) ++ { ++ /* Everything must go for SEC. */ ++ *pp = p->next; ++ break; ++ } ++ } ++ } ++ else ++ { ++ Elf_Internal_Sym *isym; ++ ++ /* A local symbol. */ ++ isym = bfd_sym_from_r_symndx (&htab->sym_cache, ++ abfd, r_symndx); ++ if (isym == NULL) ++ return FALSE; ++ } ++ ++ r_type = ELF64_R_TYPE (rel->r_info); ++ r_type = aarch64_tls_transition (abfd,info, r_type, h ,r_symndx); ++ switch (r_type) ++ { ++ case R_AARCH64_LD64_GOT_LO12_NC: ++ case R_AARCH64_ADR_GOT_PAGE: ++ case R_AARCH64_TLSGD_ADR_PAGE21: ++ case R_AARCH64_TLSGD_ADD_LO12_NC: ++ case R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21: ++ case R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC: ++ case R_AARCH64_TLSLE_ADD_TPREL_LO12: ++ case R_AARCH64_TLSLE_ADD_TPREL_HI12: ++ case R_AARCH64_TLSLE_ADD_TPREL_LO12_NC: ++ case R_AARCH64_TLSLE_MOVW_TPREL_G2: ++ case R_AARCH64_TLSLE_MOVW_TPREL_G1: ++ case R_AARCH64_TLSLE_MOVW_TPREL_G1_NC: ++ case R_AARCH64_TLSLE_MOVW_TPREL_G0: ++ case R_AARCH64_TLSLE_MOVW_TPREL_G0_NC: ++ case R_AARCH64_TLSDESC_ADR_PAGE: ++ case R_AARCH64_TLSDESC_ADD_LO12_NC: ++ case R_AARCH64_TLSDESC_LD64_LO12_NC: ++ if (h != NULL) ++ { ++ if (h->got.refcount > 0) ++ h->got.refcount -= 1; ++ } ++ else if (local_got_refcounts != NULL) ++ { ++ if (local_got_refcounts[r_symndx] > 0) ++ local_got_refcounts[r_symndx] -= 1; ++ } ++ break; ++ ++ case R_AARCH64_ADR_PREL_PG_HI21_NC: ++ case R_AARCH64_ADR_PREL_PG_HI21: ++ case R_AARCH64_ADR_PREL_LO21: ++ if (h != NULL && info->executable) ++ { ++ if (h->plt.refcount > 0) ++ h->plt.refcount -= 1; ++ } ++ break; ++ ++ case R_AARCH64_CALL26: ++ case R_AARCH64_JUMP26: ++ /* If this is a local symbol then we resolve it ++ directly without creating a PLT entry. */ ++ if (h == NULL) ++ continue; ++ ++ if (h->plt.refcount > 0) ++ h->plt.refcount -= 1; ++ break; ++ ++ case R_AARCH64_ABS64: ++ if (h != NULL && info->executable) ++ { ++ if (h->plt.refcount > 0) ++ h->plt.refcount -= 1; ++ } ++ break; ++ ++ default: ++ break; ++ ++ } ++ ++ } ++ + return TRUE; + } + +@@ -6994,7 +7127,7 @@ const struct elf_size_info elf64_aarch64 + elf64_aarch64_size_info + + #define elf_backend_can_refcount 1 +-#define elf_backend_can_gc_sections 0 ++#define elf_backend_can_gc_sections 1 + #define elf_backend_plt_readonly 1 + #define elf_backend_want_got_plt 1 + #define elf_backend_want_plt_sym 0 +Index: binutils-2.23.1/ld/testsuite/lib/ld-lib.exp +=================================================================== +--- binutils-2.23.1.orig/ld/testsuite/lib/ld-lib.exp ++++ binutils-2.23.1/ld/testsuite/lib/ld-lib.exp +@@ -1500,8 +1500,7 @@ proc check_gc_sections_available { } { + if {![info exists gc_sections_available_saved]} { + # Some targets don't support gc-sections despite whatever's + # advertised by ld's options. +- if {[istarget aarch64*-*-*] +- || [istarget arc-*-*] ++ if {[istarget arc-*-*] + || [istarget d30v-*-*] + || [istarget dlx-*-*] + || [istarget i960-*-*] diff --git a/binutils.changes b/binutils.changes index 994ae64..7a71f66 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/binutils.spec b/binutils.spec index 9dc944d..77747a9 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1,7 +1,7 @@ # # spec file for package binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -98,6 +98,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 30015e9..609e37f 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-aarch64-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 994ae64..7a71f66 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index 948c953..65130c1 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-alpha-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 8f63165..3263ce8 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-arm-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 45fd5d7..ef2c2a7 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-avr-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index a8166c8..a6f1238 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index e7cff59..b0146bf 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa64-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 7a5f066..1409612 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-i386-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index c4ab3d2..d9486f5 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ia64-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 978a610..3fc3924 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-mips-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 3bb5b46..75dd6b2 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index c1aa815..d9056f4 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index f583484..234c5f8 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 1cb02b6..c0efe39 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390x-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index f155b9a..f788c24 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index b6182e9..41a28bb 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc64-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index af6f72c..1cb401d 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-spu-binutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -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 994ae64..7a71f66 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + ------------------------------------------------------------------- Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index c03753c..53a5b36 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) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch +Patch102: aarch64-gc-section-support.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch21 %patch22 %patch101 -p1 +%patch102 -p1 %patch201 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h