From b91418684135ed009f8695b24ff3a8a301208561c0b8762471a595c853d1a534 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Mon, 22 Jul 2013 13:10:35 +0000 Subject: [PATCH] Accepting request 183973 from home:Andreas_Schwab:Factory - warning-symbol-sections.patch: don't clobber warning sections from shared libraries OBS-URL: https://build.opensuse.org/request/show/183973 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=137 --- binutils.changes | 6 ++++++ binutils.spec | 2 ++ cross-aarch64-binutils.changes | 6 ++++++ cross-aarch64-binutils.spec | 2 ++ cross-arm-binutils.changes | 6 ++++++ cross-arm-binutils.spec | 2 ++ cross-avr-binutils.changes | 6 ++++++ cross-avr-binutils.spec | 2 ++ cross-hppa-binutils.changes | 6 ++++++ cross-hppa-binutils.spec | 2 ++ cross-hppa64-binutils.changes | 6 ++++++ cross-hppa64-binutils.spec | 2 ++ cross-i386-binutils.changes | 6 ++++++ cross-i386-binutils.spec | 2 ++ cross-ia64-binutils.changes | 6 ++++++ cross-ia64-binutils.spec | 2 ++ cross-mips-binutils.changes | 6 ++++++ cross-mips-binutils.spec | 2 ++ cross-ppc-binutils.changes | 6 ++++++ cross-ppc-binutils.spec | 2 ++ cross-ppc64-binutils.changes | 6 ++++++ cross-ppc64-binutils.spec | 2 ++ cross-s390-binutils.changes | 6 ++++++ cross-s390-binutils.spec | 2 ++ cross-s390x-binutils.changes | 6 ++++++ cross-s390x-binutils.spec | 2 ++ cross-sparc-binutils.changes | 6 ++++++ cross-sparc-binutils.spec | 2 ++ cross-sparc64-binutils.changes | 6 ++++++ cross-sparc64-binutils.spec | 2 ++ cross-spu-binutils.changes | 6 ++++++ cross-spu-binutils.spec | 2 ++ cross-x86_64-binutils.changes | 6 ++++++ cross-x86_64-binutils.spec | 2 ++ warning-symbol-sections.patch | 20 ++++++++++++++++++++ 35 files changed, 156 insertions(+) create mode 100644 warning-symbol-sections.patch diff --git a/binutils.changes b/binutils.changes index eba7733..19457ee 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/binutils.spec b/binutils.spec index 6086669..6ee601f 100644 --- a/binutils.spec +++ b/binutils.spec @@ -96,6 +96,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index eba7733..19457ee 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index ce43567..020eb7a 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index eba7733..19457ee 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 68c4618..ca5529d 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index eba7733..19457ee 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 2cf0124..924bb43 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index eba7733..19457ee 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index fbd4dd4..f820ccb 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index eba7733..19457ee 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 113c405..90f3bed 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index eba7733..19457ee 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index b4204bd..a38867e 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index eba7733..19457ee 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index cc1a02f..1fccc30 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index eba7733..19457ee 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 26dd435..2d75db9 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index eba7733..19457ee 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 9b05930..a911258 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index eba7733..19457ee 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index bcace86..46a222e 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index eba7733..19457ee 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 755e7f4..dcc3b23 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index eba7733..19457ee 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 3bc2086..99f26db 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index eba7733..19457ee 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 3cbb7f3..8240c11 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index eba7733..19457ee 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index c1fcd0c..eddd3f6 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index eba7733..19457ee 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 12717a9..24948e4 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index eba7733..19457ee 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + ------------------------------------------------------------------- Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 0818287..bff5ca6 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch22: binutils-bfd_h.patch +Patch23: warning-symbol-sections.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch @@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch21 %patch22 +%patch23 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 diff --git a/warning-symbol-sections.patch b/warning-symbol-sections.patch new file mode 100644 index 0000000..31ee7d9 --- /dev/null +++ b/warning-symbol-sections.patch @@ -0,0 +1,20 @@ +2013-07-20 Alan Modra + + PR ld/15762 + PR ld/12761 + * elflink.c (elf_link_add_object_symbols): Don't clobber + .gnu.warning.symbol sections when shared. + +Index: binutils-2.23.2/bfd/elflink.c +=================================================================== +--- binutils-2.23.2.orig/bfd/elflink.c ++++ binutils-2.23.2/bfd/elflink.c +@@ -3468,7 +3468,7 @@ elf_link_add_object_symbols (bfd *abfd, + FALSE, bed->collect, NULL))) + goto error_return; + +- if (! info->relocatable) ++ if (!info->relocatable && !info->shared) + { + /* Clobber the section size so that the warning does + not get copied into the output file. */