From 24dd8b383693aa7294582b5fc93c4e848ba67e41033b53880f723728d87f654a Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 23 Aug 2011 11:43:54 +0000 Subject: [PATCH] - Fix XLC object linker complaints. [bnc#713504] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=64 --- binutils.changes | 5 +++++ binutils.spec | 2 ++ bnc713504.diff | 20 ++++++++++++++++++++ cross-alpha-binutils.changes | 5 +++++ cross-alpha-binutils.spec | 2 ++ cross-arm-binutils.changes | 5 +++++ cross-arm-binutils.spec | 2 ++ cross-hppa-binutils.changes | 5 +++++ cross-hppa-binutils.spec | 2 ++ cross-hppa64-binutils.changes | 5 +++++ cross-hppa64-binutils.spec | 2 ++ cross-i386-binutils.changes | 5 +++++ cross-i386-binutils.spec | 2 ++ cross-ia64-binutils.changes | 5 +++++ cross-ia64-binutils.spec | 2 ++ cross-mips-binutils.changes | 5 +++++ cross-mips-binutils.spec | 2 ++ cross-ppc-binutils.changes | 5 +++++ cross-ppc-binutils.spec | 2 ++ cross-ppc64-binutils.changes | 5 +++++ cross-ppc64-binutils.spec | 2 ++ cross-s390-binutils.changes | 5 +++++ cross-s390-binutils.spec | 2 ++ cross-s390x-binutils.changes | 5 +++++ cross-s390x-binutils.spec | 2 ++ cross-sparc-binutils.changes | 5 +++++ cross-sparc-binutils.spec | 2 ++ cross-spu-binutils.changes | 5 +++++ cross-spu-binutils.spec | 2 ++ cross-x86_64-binutils.changes | 5 +++++ cross-x86_64-binutils.spec | 2 ++ 31 files changed, 125 insertions(+) create mode 100644 bnc713504.diff diff --git a/binutils.changes b/binutils.changes index 0eddcbb..0ccc297 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/binutils.spec b/binutils.spec index 00db8e6..011a497 100644 --- a/binutils.spec +++ b/binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -313,6 +314,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/bnc713504.diff b/bnc713504.diff new file mode 100644 index 0000000..8557b2c --- /dev/null +++ b/bnc713504.diff @@ -0,0 +1,20 @@ + * elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if + we haven't seen expected -mcmodel=medium/large code relocs. + +Index: bfd/elf64-ppc.c +=================================================================== +RCS file: /cvs/src/src/bfd/elf64-ppc.c,v +retrieving revision 1.360 +diff -u -p -r1.360 elf64-ppc.c +--- bfd/elf64-ppc.c 14 Aug 2011 08:11:56 -0000 1.360 ++++ bfd/elf64-ppc.c 19 Aug 2011 02:13:57 -0000 +@@ -8267,7 +8362,7 @@ ppc64_elf_edit_toc (struct bfd_link_info + some_unused = 1; + last = 0; + } +- else if (*drop) ++ else if (*drop & ref_from_discarded) + { + some_unused = 1; + last = ref_from_discarded; + diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 0eddcbb..0ccc297 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index d3ba568..716404a 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index a95a7e0..374b766 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 50c10b3..ca65f57 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index b9371c7..1b4b68a 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 19384b8..d8a56a3 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index d03deec..24d45ab 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 4ca1ed7..452acc8 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index aa21503..b95dfe0 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 832a9e5..5bfa873 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index e0ebec9..3f811bd 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 6eea167..eac3aa8 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index eacf476..27fd8e9 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 5b68576..5b7165d 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %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 0eddcbb..0ccc297 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + ------------------------------------------------------------------- Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 59a8485..b6e3603 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -97,6 +97,7 @@ Patch18: gold-depend-on-opcodes.diff Patch19: readelf-bad-elf-endless-loop.patch Patch20: bso12982.diff Patch21: binutils-no-copy-dt-needed-default.patch +Patch22: bnc713504.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -285,6 +286,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch19 %patch20 -p1 %patch21 +%patch22 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90