SHA256
1
0
forked from pool/binutils

Accepting request 79558 from devel:gcc

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

- Make --no-copy-dt-needed-default the default for ld.

OBS-URL: https://build.opensuse.org/request/show/79558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=67
This commit is contained in:
Sascha Peilicke 2011-08-24 09:37:22 +00:00 committed by Git OBS Bridge
commit c452786544
32 changed files with 337 additions and 42 deletions

View File

@ -0,0 +1,65 @@
From: Michael Matz <matz at suse dot de>
To: Ian Lance Taylor <iant at google dot com>
Cc: binutils at sourceware dot org
Subject: Re: Make no-copy-dt-needed default?
* ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE.
* ld.texinfo (--copy-dt-needed-entries): Mention new default.
Index: ld.texinfo
===================================================================
RCS file: /cvs/src/src/ld/ld.texinfo,v
retrieving revision 1.279
diff -u -p -r1.279 ld.texinfo
--- ld/ld.texinfo 9 Aug 2011 13:10:44 -0000 1.279
+++ ld/ld.texinfo 16 Aug 2011 15:58:50 -0000
@@ -1258,21 +1258,20 @@ option.
@itemx --no-copy-dt-needed-entries
This option affects the treatment of dynamic libraries referred to
by DT_NEEDED tags @emph{inside} ELF dynamic libraries mentioned on the
-command line. Normally the linker will add a DT_NEEDED tag to the
+command line. Normally the linker won't add a DT_NEEDED tag to the
output binary for each library mentioned in a DT_NEEDED tag in an
-input dynamic library. With @option{--no-copy-dt-needed-entries}
+input dynamic library. With @option{--copy-dt-needed-entries}
specified on the command line however any dynamic libraries that
-follow it will have their DT_NEEDED entries ignored. The default
-behaviour can be restored with @option{--copy-dt-needed-entries}.
+follow it will have their DT_NEEDED entries added. The default
+behaviour can be restored with @option{--no-copy-dt-needed-entries}.
This option also has an effect on the resolution of symbols in dynamic
-libraries. With the default setting dynamic libraries mentioned on
-the command line will be recursively searched, following their
-DT_NEEDED tags to other libraries, in order to resolve symbols
-required by the output binary. With
-@option{--no-copy-dt-needed-entries} specified however the searching
-of dynamic libraries that follow it will stop with the dynamic
-library itself. No DT_NEEDED links will be traversed to resolve
+libraries. With @option{--copy-dt-needed-entries} dynamic libraries
+mentioned on the command line will be recursively searched, following
+their DT_NEEDED tags to other libraries, in order to resolve symbols
+required by the output binary. With the default setting however
+the searching of dynamic libraries that follow it will stop with the
+dynamic library itself. No DT_NEEDED links will be traversed to resolve
symbols.
@cindex cross reference table
Index: ldmain.c
===================================================================
RCS file: /cvs/src/src/ld/ldmain.c,v
retrieving revision 1.158
diff -u -p -r1.158 ldmain.c
--- ld/ldmain.c 4 Aug 2011 20:47:46 -0000 1.158
+++ ld/ldmain.c 16 Aug 2011 15:58:50 -0000
@@ -105,7 +105,7 @@ bfd_boolean add_DT_NEEDED_for_regular;
/* True means create DT_NEEDED entries for dynamic libraries that
are DT_NEEDED by dynamic libraries specifically mentioned on
the command line. */
-bfd_boolean add_DT_NEEDED_for_dynamic = TRUE;
+bfd_boolean add_DT_NEEDED_for_dynamic;
/* TRUE if we should demangle symbol names. */
bfd_boolean demangling;

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -311,6 +313,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-alpha-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-alpha-binutils
Name: cross-alpha-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-arm-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-arm-binutils
Name: cross-arm-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-hppa-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-hppa-binutils
Name: cross-hppa-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-hppa64-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-hppa64-binutils
Name: cross-hppa64-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-i386-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-i386-binutils
Name: cross-i386-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-ia64-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-ia64-binutils
Name: cross-ia64-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-mips-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-mips-binutils
Name: cross-mips-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-ppc-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-ppc-binutils
Name: cross-ppc-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-ppc64-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-ppc64-binutils
Name: cross-ppc64-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-s390-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-s390-binutils
Name: cross-s390-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-s390x-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-s390x-binutils
Name: cross-s390x-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-sparc-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-sparc-binutils
Name: cross-sparc-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-spu-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-spu-binutils
Name: cross-spu-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%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,13 @@
-------------------------------------------------------------------
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
- Make --no-copy-dt-needed-default the default for ld.
-------------------------------------------------------------------
Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package cross-x86_64-binutils
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-x86_64-binutils
Name: cross-x86_64-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -31,7 +31,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
Version: 2.21.1
Release: 3
Release: 8
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -96,6 +96,8 @@ Patch17: binutils-add-pep.diff
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
@ -283,6 +285,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch18
%patch19
%patch20 -p1
%patch21
%patch22
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90