diff --git a/binutils.changes b/binutils.changes index adc7092..d98092d 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/binutils.spec b/binutils.spec index 2fceec1..040905b 100644 --- a/binutils.spec +++ b/binutils.spec @@ -20,7 +20,7 @@ Name: binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -252,6 +255,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -299,21 +305,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -405,6 +417,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -467,9 +482,16 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root) %{_prefix}/include/*.h -%{_libdir}/lib*.a +%{_libdir}/lib*.*a %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index adc7092..d98092d 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index 2f5e0a7..2a53d07 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index adc7092..d98092d 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 6c2fc38..02177ec 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index adc7092..d98092d 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index fd7cb29..9b837f3 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index adc7092..d98092d 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 814a951..dbec621 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index adc7092..d98092d 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 644c9a2..c683448 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index adc7092..d98092d 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 6fd26ce..728d232 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index adc7092..d98092d 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index c7e04bc..b0391d6 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index adc7092..d98092d 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 7b72b1e..0bffa4d 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index adc7092..d98092d 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index dbc7cf3..4a81eaf 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index adc7092..d98092d 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 717682d..83a5c41 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index adc7092..d98092d 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 847b014..638ed1f 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index adc7092..d98092d 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 4271a05..7755f3c 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-sh4-binutils.changes b/cross-sh4-binutils.changes index adc7092..d98092d 100644 --- a/cross-sh4-binutils.changes +++ b/cross-sh4-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-sh4-binutils.spec b/cross-sh4-binutils.spec index 524dc18..ce2daa1 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -184,6 +187,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -231,21 +237,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -337,6 +349,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -397,6 +412,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index adc7092..d98092d 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 7976863..6f65128 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index adc7092..d98092d 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index e631479..a2c8eb5 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index adc7092..d98092d 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + ------------------------------------------------------------------- Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 387771d..65b4d1c 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 Version: 2.19 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -82,6 +82,9 @@ Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff Patch15: dw-cfa-advance-loc.diff +Patch16: ppc-opc.diff +Patch17: ld-ia64-relax.diff +Patch18: s390-calls-local.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -185,6 +188,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch13 %patch14 %patch15 +%patch16 +%patch17 +%patch18 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -232,21 +238,27 @@ ADDITIONAL_LD_TARGETS="x86_64-suse-linux" %endif mkdir build-dir cd build-dir -../configure CFLAGS="${RPM_OPT_FLAGS}" \ - --prefix=%{_prefix} \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GNU Binutils; %{DIST}" \ - --enable-shared --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \ - --infodir=%{_infodir} --mandir=%{_mandir} \ - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --with-pic --build=%{HOST} \ - --disable-ld-targets \ - ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \ +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} \\\ + --disable-ld-targets \\\ + ${ADDITIONAL_LD_TARGETS:+--enable-ld-targets="${ADDITIONAL_LD_TARGETS// /,}"} \\\ ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} +../configure %common_flags --enable-shared make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +cd .. +mkdir build-dir2 +cd build-dir2 +../configure %common_flags --disable-shared +make %{?jobs:-j%jobs} all-bfd all-opcodes %check cd build-dir @@ -338,6 +350,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.{la,so} rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 cd .. +cd build-dir2 +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes +cd .. %find_lang binutils %find_lang bfd binutils.lang %find_lang gas binutils.lang @@ -398,6 +413,13 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 04 2008 schwab@suse.de +- Update symbol visibility checks during linking on s390. +* Wed Dec 03 2008 schwab@suse.de +- Fix corner case during link relaxing. +* Thu Nov 27 2008 schwab@suse.de +- Fix disassembler bug. +- Help some devel users. * Fri Nov 21 2008 schwab@suse.de - Import bugfixes from 2.19 branch. * Wed Nov 19 2008 schwab@suse.de diff --git a/dw-cfa-advance-loc.diff b/dw-cfa-advance-loc.diff index f59319b..b91aea8 100644 --- a/dw-cfa-advance-loc.diff +++ b/dw-cfa-advance-loc.diff @@ -135,7 +135,7 @@ + && ((exp->X_op == O_divide + ? exp->X_op_symbol->sy_value.X_add_number + : (offsetT) 1 << exp->X_op_symbol->sy_value.X_add_number) -+ == d->cie_info.code_alignment)) ++ == (offsetT) d->cie_info.code_alignment)) + { + /* This is a case we can optimize as well. The expression was + not reduced, so we can not finish the optimization until the diff --git a/ld-ia64-relax.diff b/ld-ia64-relax.diff new file mode 100644 index 0000000..1b0ac53 --- /dev/null +++ b/ld-ia64-relax.diff @@ -0,0 +1,31 @@ +2008-12-01 H.J. Lu + + PR ld/7036 + * elfxx-ia64.c (elfNN_ia64_relax_section): Assume linker will + always insert 32byte between the .plt and .text sections after + the the first relaxation pass. + +--- bfd/elfxx-ia64.c.relax 2008-11-29 12:08:04.000000000 -0800 ++++ bfd/elfxx-ia64.c 2008-12-01 13:57:01.000000000 -0800 +@@ -994,8 +994,20 @@ elfNN_ia64_relax_section (bfd *abfd, ase + + sec->output_offset + + roff) & (bfd_vma) -4; + ++ /* The .plt section is aligned at 32byte and the .text section ++ is aligned at 64byte. The .text section is right after the ++ .plt section. After the first relaxation pass, linker may ++ increase the gap between the .plt and .text sections up ++ to 32byte. We assume linker will always insert 32byte ++ between the .plt and .text sections after the the first ++ relaxation pass. */ ++ if (tsec == ia64_info->plt_sec) ++ offset = -0x1000000 + 32; ++ else ++ offset = -0x1000000; ++ + /* If the branch is in range, no need to do anything. */ +- if ((bfd_signed_vma) (symaddr - reladdr) >= -0x1000000 ++ if ((bfd_signed_vma) (symaddr - reladdr) >= offset + && (bfd_signed_vma) (symaddr - reladdr) <= 0x0FFFFF0) + { + /* If the 60-bit branch is in 21-bit range, optimize it. */ diff --git a/ppc-opc.diff b/ppc-opc.diff new file mode 100644 index 0000000..0504183 --- /dev/null +++ b/ppc-opc.diff @@ -0,0 +1,27 @@ +2008-11-27 Alan Modra + + * ppc-opc.c (extract_sprg): Correct operand range check. + +Index: opcodes/ppc-opc.c +=================================================================== +RCS file: /cvs/src/src/opcodes/ppc-opc.c,v +retrieving revision 1.110 +retrieving revision 1.111 +diff -u -a -p -u -p -a -r1.110 -r1.111 +--- opcodes/ppc-opc.c 14 Aug 2008 13:56:00 -0000 1.110 ++++ opcodes/ppc-opc.c 27 Nov 2008 10:47:23 -0000 1.111 +@@ -1281,10 +1281,10 @@ extract_sprg (unsigned long insn, + + /* mfsprg can use 260..263 and 272..279. mtsprg only uses spr 272..279 + If not BOOKE or 405, then both use only 272..275. */ +- if (val <= 3 +- || (val < 0x10 && (insn & 0x100) != 0) +- || (val - 0x10 > 3 +- && (dialect & (PPC_OPCODE_BOOKE | PPC_OPCODE_403)) == 0)) ++ if ((val - 0x10 > 3 && (dialect & (PPC_OPCODE_BOOKE | PPC_OPCODE_405)) == 0) ++ || (val - 0x10 > 7 && (insn & 0x100) != 0) ++ || val <= 3 ++ || (val & 8) != 0) + *invalid = 1; + return val & 7; + } diff --git a/s390-calls-local.diff b/s390-calls-local.diff new file mode 100644 index 0000000..ce4897e --- /dev/null +++ b/s390-calls-local.diff @@ -0,0 +1,120 @@ +--- bfd/elf32-s390.c 26 Nov 2008 10:48:43 +0100 1.98 ++++ bfd/elf32-s390.c 04 Dez 2008 15:55:57 +0100 +@@ -1566,11 +1566,9 @@ elf_s390_adjust_dynamic_symbol (info, h) + || h->needs_plt) + { + if (h->plt.refcount <= 0 +- || (! info->shared +- && !h->def_dynamic +- && !h->ref_dynamic +- && h->root.type != bfd_link_hash_undefweak +- && h->root.type != bfd_link_hash_undefined)) ++ || SYMBOL_CALLS_LOCAL (info, h) ++ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT ++ && h->root.type == bfd_link_hash_undefweak)) + { + /* This case can occur if we saw a PLT32 reloc in an input + file, but the symbol was never referred to by a dynamic +@@ -1840,7 +1838,7 @@ allocate_dynrelocs (h, inf) + + if (info->shared) + { +- if (SYMBOL_REFERENCES_LOCAL (info, h)) ++ if (SYMBOL_CALLS_LOCAL (info, h)) + { + struct elf_s390_dyn_relocs **pp; + +@@ -2364,10 +2362,7 @@ elf_s390_relocate_section (output_bfd, i + dyn = htab->elf.dynamic_sections_created; + if (! WILL_CALL_FINISH_DYNAMIC_SYMBOL (dyn, info->shared, h) + || (info->shared +- && (info->symbolic +- || h->dynindx == -1 +- || h->forced_local) +- && h->def_regular) ++ && SYMBOL_REFERENCES_LOCAL (info, h)) + || (ELF_ST_VISIBILITY (h->other) + && h->root.type == bfd_link_hash_undefweak)) + { +@@ -2537,8 +2532,7 @@ elf_s390_relocate_section (output_bfd, i + && r_type != R_390_PC16DBL + && r_type != R_390_PC32DBL + && r_type != R_390_PC32) +- || (h != NULL +- && !SYMBOL_REFERENCES_LOCAL (info, h)))) ++ || !SYMBOL_CALLS_LOCAL (info, h))) + || (ELIMINATE_COPY_RELOCS + && !info->shared + && h != NULL +@@ -3262,10 +3256,7 @@ elf_s390_finish_dynamic_symbol (output_b + The entry in the global offset table will already have been + initialized in the relocate_section function. */ + if (info->shared +- && (info->symbolic +- || h->dynindx == -1 +- || h->forced_local) +- && h->def_regular) ++ && SYMBOL_REFERENCES_LOCAL (info, h)) + { + BFD_ASSERT((h->got.offset & 1) != 0); + rela.r_info = ELF32_R_INFO (0, R_390_RELATIVE); +--- bfd/elf64-s390.c 04 Dez 2008 10:26:25 +0100 1.100 ++++ bfd/elf64-s390.c 04 Dez 2008 15:56:44 +0100 +@@ -1541,11 +1541,9 @@ elf_s390_adjust_dynamic_symbol (info, h) + || h->needs_plt) + { + if (h->plt.refcount <= 0 +- || (! info->shared +- && !h->def_dynamic +- && !h->ref_dynamic +- && h->root.type != bfd_link_hash_undefweak +- && h->root.type != bfd_link_hash_undefined)) ++ || SYMBOL_CALLS_LOCAL (info, h) ++ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT ++ && h->root.type == bfd_link_hash_undefweak)) + { + /* This case can occur if we saw a PLT32 reloc in an input + file, but the symbol was never referred to by a dynamic +@@ -1815,7 +1813,7 @@ allocate_dynrelocs (h, inf) + + if (info->shared) + { +- if (SYMBOL_REFERENCES_LOCAL (info, h)) ++ if (SYMBOL_CALLS_LOCAL (info, h)) + { + struct elf_s390_dyn_relocs **pp; + +@@ -2340,10 +2338,7 @@ elf_s390_relocate_section (output_bfd, i + dyn = htab->elf.dynamic_sections_created; + if (! WILL_CALL_FINISH_DYNAMIC_SYMBOL (dyn, info->shared, h) + || (info->shared +- && (info->symbolic +- || h->dynindx == -1 +- || h->forced_local) +- && h->def_regular) ++ && SYMBOL_REFERENCES_LOCAL (info, h)) + || (ELF_ST_VISIBILITY (h->other) + && h->root.type == bfd_link_hash_undefweak)) + { +@@ -2519,8 +2514,7 @@ elf_s390_relocate_section (output_bfd, i + && r_type != R_390_PC32 + && r_type != R_390_PC32DBL + && r_type != R_390_PC64) +- || (h != NULL +- && !SYMBOL_REFERENCES_LOCAL (info, h)))) ++ || !SYMBOL_CALLS_LOCAL (info, h))) + || (ELIMINATE_COPY_RELOCS + && !info->shared + && h != NULL +@@ -3168,10 +3162,7 @@ elf_s390_finish_dynamic_symbol (output_b + The entry in the global offset table will already have been + initialized in the relocate_section function. */ + if (info->shared +- && (info->symbolic +- || h->dynindx == -1 +- || h->forced_local) +- && h->def_regular) ++ && SYMBOL_REFERENCES_LOCAL (info, h)) + { + BFD_ASSERT((h->got.offset & 1) != 0); + rela.r_info = ELF64_R_INFO (0, R_390_RELATIVE);