- Fix XLC object linker complaints. [bnc#713504]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=64
This commit is contained in:
Richard Biener 2011-08-23 11:43:54 +00:00 committed by Git OBS Bridge
parent 78e1a393dd
commit 24dd8b3836
31 changed files with 125 additions and 0 deletions

View File

@ -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

View File

@ -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

20
bnc713504.diff Normal file
View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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