forked from pool/binutils
This commit is contained in:
parent
f91b107d9c
commit
5545d054d2
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
31
ld-ia64-relax.diff
Normal file
31
ld-ia64-relax.diff
Normal file
@ -0,0 +1,31 @@
|
||||
2008-12-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
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. */
|
27
ppc-opc.diff
Normal file
27
ppc-opc.diff
Normal file
@ -0,0 +1,27 @@
|
||||
2008-11-27 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* 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;
|
||||
}
|
120
s390-calls-local.diff
Normal file
120
s390-calls-local.diff
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user