From a63b6f7d799b48cdd47b5d92ba8c7371b134a785d7475a8d40c320d326e368ac Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 12 Jun 2009 14:47:10 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=37 --- binutils-build-as-needed.diff | 13 +++++++++++++ binutils.changes | 5 +++++ binutils.spec | 8 +++++++- cross-alpha-binutils.changes | 5 +++++ cross-alpha-binutils.spec | 8 +++++++- cross-arm-binutils.changes | 5 +++++ cross-arm-binutils.spec | 8 +++++++- cross-avr-binutils.changes | 5 +++++ cross-avr-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-sh4-binutils.changes | 5 +++++ cross-sh4-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 +++++++- 35 files changed, 217 insertions(+), 17 deletions(-) create mode 100644 binutils-build-as-needed.diff diff --git a/binutils-build-as-needed.diff b/binutils-build-as-needed.diff new file mode 100644 index 0000000..3a68805 --- /dev/null +++ b/binutils-build-as-needed.diff @@ -0,0 +1,13 @@ +Index: ld/ldmain.c +=================================================================== +--- ld/ldmain.c.orig 2009-06-09 14:34:35.000000000 +0200 ++++ ld/ldmain.c 2009-06-09 14:47:37.000000000 +0200 +@@ -277,6 +277,8 @@ main (int argc, char **argv) + link_info.pei386_auto_import = -1; + link_info.spare_dynamic_tags = 5; + link_info.path_separator = ':'; ++ if (getenv ("SUSE_IGNORED_RPATHS")) ++ as_needed = TRUE; + + ldfile_add_arch (""); + emulation = get_emulation (argc, argv); diff --git a/binutils.changes b/binutils.changes index 2b23e96..1cccbff 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/binutils.spec b/binutils.spec index 74d308a..3e93e7d 100644 --- a/binutils.spec +++ b/binutils.spec @@ -20,7 +20,7 @@ Name: binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff 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 %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -360,6 +362,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -425,6 +428,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -539,6 +543,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/lib*.*a %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index c01afd0..5ac69c7 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -20,7 +20,7 @@ Name: cross-alpha-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 75b48c4..a6bd36f 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -20,7 +20,7 @@ Name: cross-arm-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 9db811d..0fd4aeb 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -20,7 +20,7 @@ Name: cross-avr-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index f9b5733..17c5070 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -20,7 +20,7 @@ Name: cross-hppa-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index decc55f..a7acfa0 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -20,7 +20,7 @@ Name: cross-hppa64-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index d757069..983d6f8 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -20,7 +20,7 @@ Name: cross-i386-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 2c61482..f5e71e3 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -20,7 +20,7 @@ Name: cross-ia64-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index ee268e3..5dfd568 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -20,7 +20,7 @@ Name: cross-mips-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index c39ce4a..aa1464a 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -20,7 +20,7 @@ Name: cross-ppc-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 5030d61..129719d 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -20,7 +20,7 @@ Name: cross-ppc64-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index fca9e20..78f51b0 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -20,7 +20,7 @@ Name: cross-s390-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 8363ceb..8a37b96 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -20,7 +20,7 @@ Name: cross-s390x-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-sh4-binutils.changes b/cross-sh4-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-sh4-binutils.changes +++ b/cross-sh4-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-sh4-binutils.spec b/cross-sh4-binutils.spec index 11f6b8f..b168a7c 100644 --- a/cross-sh4-binutils.spec +++ b/cross-sh4-binutils.spec @@ -20,7 +20,7 @@ Name: cross-sh4-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -245,6 +247,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -306,6 +309,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -397,6 +401,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index efcd5fd..4753766 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -20,7 +20,7 @@ Name: cross-sparc-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 28797f9..574f581 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -20,7 +20,7 @@ Name: cross-spu-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 2b23e96..1cccbff 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + ------------------------------------------------------------------- Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index aff3475..0b92692 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -20,7 +20,7 @@ Name: cross-x86_64-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ cd ../build-dir3 make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4.