From 78e1a393dd2972f47eb93766bda3e4ebfb30648712f2995e1b82b623f9709894 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 22 Aug 2011 08:12:58 +0000 Subject: [PATCH] Accepting request 79447 from home:a_jaeger:branches:openSUSE:Factory Make --no-copy-dt-needed-default the default for ld. OBS-URL: https://build.opensuse.org/request/show/79447 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=63 --- binutils-no-copy-dt-needed-default.patch | 65 ++++++++++++++++++++++++ binutils.changes | 5 ++ binutils.spec | 2 + cross-alpha-binutils.changes | 5 ++ cross-alpha-binutils.spec | 8 +-- cross-arm-binutils.changes | 5 ++ cross-arm-binutils.spec | 8 +-- cross-hppa-binutils.changes | 5 ++ cross-hppa-binutils.spec | 8 +-- cross-hppa64-binutils.changes | 5 ++ cross-hppa64-binutils.spec | 8 +-- cross-i386-binutils.changes | 5 ++ cross-i386-binutils.spec | 8 +-- cross-ia64-binutils.changes | 5 ++ cross-ia64-binutils.spec | 8 +-- cross-mips-binutils.changes | 5 ++ cross-mips-binutils.spec | 8 +-- cross-ppc-binutils.changes | 5 ++ cross-ppc-binutils.spec | 8 +-- cross-ppc64-binutils.changes | 5 ++ cross-ppc64-binutils.spec | 8 +-- cross-s390-binutils.changes | 5 ++ cross-s390-binutils.spec | 8 +-- cross-s390x-binutils.changes | 5 ++ cross-s390x-binutils.spec | 8 +-- cross-sparc-binutils.changes | 5 ++ cross-sparc-binutils.spec | 8 +-- cross-spu-binutils.changes | 5 ++ cross-spu-binutils.spec | 8 +-- cross-x86_64-binutils.changes | 5 ++ cross-x86_64-binutils.spec | 8 +-- 31 files changed, 212 insertions(+), 42 deletions(-) create mode 100644 binutils-no-copy-dt-needed-default.patch diff --git a/binutils-no-copy-dt-needed-default.patch b/binutils-no-copy-dt-needed-default.patch new file mode 100644 index 0000000..14279e4 --- /dev/null +++ b/binutils-no-copy-dt-needed-default.patch @@ -0,0 +1,65 @@ +From: Michael Matz +To: Ian Lance Taylor +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; + diff --git a/binutils.changes b/binutils.changes index 3283f66..0eddcbb 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/binutils.spec b/binutils.spec index fe7a44f..00db8e6 100644 --- a/binutils.spec +++ b/binutils.spec @@ -96,6 +96,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -311,6 +312,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 3283f66..0eddcbb 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index 65d66d1..d3ba568 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 6dca672..a95a7e0 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 01f110d..50c10b3 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 3c60417..b9371c7 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 745a96e..19384b8 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 130062f..d03deec 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 5d828f2..4ca1ed7 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index b511ae6..aa21503 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 189e384..832a9e5 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index e7077cb..e0ebec9 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index c724af2..6eea167 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index e9450ef..eacf476 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 093a603..5b68576 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %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 3283f66..0eddcbb 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 0ba0a5c..59a8485 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -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,7 @@ 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 Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch19 %patch20 -p1 +%patch21 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90