diff --git a/binutils.changes b/binutils.changes index 3378a7c..c25262d 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/binutils.spec b/binutils.spec index 1fa372a..25e06d8 100644 --- a/binutils.spec +++ b/binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -303,6 +304,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/bso13195.diff b/bso13195.diff new file mode 100644 index 0000000..4972cda --- /dev/null +++ b/bso13195.diff @@ -0,0 +1,107 @@ +Index: bfd/elflink.c +=================================================================== +--- bfd/elflink.c.orig ++++ bfd/elflink.c +@@ -1238,7 +1238,6 @@ _bfd_elf_merge_symbol (bfd *abfd, + { + h->def_dynamic = 0; + h->ref_dynamic = 1; +- h->dynamic_def = 1; + } + /* FIXME: Should we check type and size for protected symbol? */ + h->size = 0; +@@ -4353,7 +4352,6 @@ error_free_dyn: + { + h->def_dynamic = 0; + h->ref_dynamic = 1; +- h->dynamic_def = 1; + } + } + if (! info->executable +@@ -4366,7 +4364,10 @@ error_free_dyn: + if (! definition) + h->ref_dynamic = 1; + else +- h->def_dynamic = 1; ++ { ++ h->def_dynamic = 1; ++ h->dynamic_def = 1; ++ } + if (h->def_regular + || h->ref_regular + || (h->u.weakdef != NULL +@@ -11914,8 +11915,9 @@ bfd_elf_gc_mark_dynamic_ref_symbol (stru + && h->def_regular + && ELF_ST_VISIBILITY (h->other) != STV_INTERNAL + && ELF_ST_VISIBILITY (h->other) != STV_HIDDEN +- && !bfd_hide_sym_by_version (info->version_info, +- h->root.root.string)))) ++ && (strchr (h->root.root.string, ELF_VER_CHR) != NULL ++ || !bfd_hide_sym_by_version (info->version_info, ++ h->root.root.string))))) + h->root.u.def.section->flags |= SEC_KEEP; + + return TRUE; +Index: ld/testsuite/ld-elf/elf.exp +=================================================================== +--- ld/testsuite/ld-elf/elf.exp.orig ++++ ld/testsuite/ld-elf/elf.exp +@@ -138,6 +138,11 @@ if ![isnative] { + return + } + ++run_cc_link_tests { ++ {"PR ld/13195" "-Wl,--gc-sections" "" ++ {pr13195.c} {} "pr13195"} ++} ++ + set array_tests { + {"preinit array" "" "" {preinit.c} "preinit" "preinit.out"} + {"init array" "" "" {init.c} "init" "init.out"} +Index: ld/testsuite/ld-elf/pr13195.c +=================================================================== +--- /dev/null ++++ ld/testsuite/ld-elf/pr13195.c +@@ -0,0 +1,5 @@ ++int ++main () ++{ ++ return 0; ++} +Index: ld/testsuite/ld-elf/pr13195.d +=================================================================== +--- /dev/null ++++ ld/testsuite/ld-elf/pr13195.d +@@ -0,0 +1,10 @@ ++#ld: --gc-sections -shared -version-script pr13195.t ++#readelf: -s --wide -D ++#target: *-*-linux* *-*-gnu* ++#notarget: arc-*-* d30v-*-* dlx-*-* i960-*-* or32-*-* pj*-*-* ++#notarget: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* ++# generic linker targets don't support --gc-sections, nor do a bunch of others ++ ++#... ++ +[0-9]+ +[0-9]+: +[0-9a-f]+ +[0-9]+ +FUNC +GLOBAL +DEFAULT +[1-9]+ foo ++#pass +Index: ld/testsuite/ld-elf/pr13195.s +=================================================================== +--- /dev/null ++++ ld/testsuite/ld-elf/pr13195.s +@@ -0,0 +1,6 @@ ++ .section .text.new_foo,"ax",%progbits ++ .globl new_foo ++ .type new_foo, %function ++new_foo: ++ .byte 0 ++ .symver new_foo,foo@@VERS_2.0 +Index: ld/testsuite/ld-elf/pr13195.t +=================================================================== +--- /dev/null ++++ ld/testsuite/ld-elf/pr13195.t +@@ -0,0 +1,6 @@ ++VERS_2.0 { ++global: ++ foo; ++local: ++ *; ++}; diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index d197920..a9c4dbc 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index c01bc1c..b3ea7e4 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index a22ed02..6c0ff52 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index a977ccc..83b5a94 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index ea73c1f..70ba8cd 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 16d5582..4463010 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index ff5a92f..41b2662 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 81d3f39..c7f4e0f 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index fc73303..8ccc56b 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 234eb62..c7d6dfb 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 604a9c1..aed2b37 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 856020b..e9f0f1a 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 31ae354..0f3f494 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 3378a7c..c25262d 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + ------------------------------------------------------------------- Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index d28ea51..5b1c2bb 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso13195.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90