Accepting request 22567 from home:rguenther

Copy from home:rguenther/binutils via accept of submit request 22567 revision 5.

OBS-URL: https://build.opensuse.org/request/show/22567
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=7
This commit is contained in:
Richard Biener 2009-10-19 09:35:54 +00:00 committed by Git OBS Bridge
parent 58f9d0f498
commit 41055b7c62
39 changed files with 511 additions and 261 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ca13d3b310eb5f911e9e37a15ea3b2a1aebd5d2234d3fbc34261b7a019396a9
size 17835911

3
binutils-2.20.51.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:052db7fbe25ccc8c26437825ddc6c1926b8eaa6fcae6fa607ddc2d83f83e097a
size 18280447

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -276,7 +281,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -286,9 +292,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -340,7 +345,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -356,8 +360,8 @@ make %{?jobs:-j%jobs}
%ifarch %gold_archs
mkdir ../build-dir2
cd ../build-dir2
../configure %common_flags %extra_gold_targets \
--enable-shared --enable-gold --program-prefix=go
../configure --disable-ld-targets %common_flags %extra_gold_targets \
--enable-shared --enable-gold --program-prefix=go --enable-plugins
make %{?jobs:-j%jobs}
%endif
mkdir ../build-dir3
@ -369,10 +373,10 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%ifarch %gold_archs
cd ../build-dir2
make -k check-gold CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check-gold CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%endif
#
@ -434,7 +438,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-alpha-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-arm-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-avr-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-hppa-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-hppa64-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-i386-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-ia64-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-mips-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-ppc-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-ppc64-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-s390-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-s390x-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-sh4-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-sparc-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-spu-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de
- Update to binutils 2.20 snapshot.
* disable patches that no longer apply
* disable make check handling everywhere
-------------------------------------------------------------------
Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de
- enable gold plugins, fix build on older distros.
-------------------------------------------------------------------
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.19.51)
# spec file for package binutils (Version 2.20.51)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,8 +18,13 @@
Name: cross-x86_64-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
Version: 2.19.51
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Release: 10
#
# RUN_TESTS
@ -33,7 +38,8 @@ Release: 10
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
%define make_check_handling true
%else
%define make_check_handling false
# XXX check again
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -77,7 +83,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch15: lto-discard.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
%patch3
# XXX
#%patch3
%patch4
%patch5
%patch6
@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
#%patch13
%patch14
%patch15
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -312,7 +317,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
%define extra_ld_targets \\\
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
%endif
#
#
@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
%endif
%install

View File

@ -1,25 +1,32 @@
--- gold/configure
+++ gold/configure
@@ -867,6 +867,7 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
Index: gold/configure
===================================================================
--- gold/configure.orig 2009-10-10 01:20:44.000000000 +0200
+++ gold/configure 2009-10-13 17:13:57.000000000 +0200
@@ -762,6 +762,7 @@ with_sysroot
enable_threads
enable_plugins
enable_targets
+enable_ld_targets
enable_dependency_tracking
enable_nls
enable_werror
@@ -1406,6 +1407,7 @@ Optional Features:
--enable-threads multi-threaded linking
--enable-plugins linker plugins
--enable-targets alternative target configurations
+ --enable-ld-targets alternative target configurations
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--disable-nls do not use Native Language Support
@@ -1981,9 +1982,31 @@ else
@@ -3297,9 +3299,29 @@ else
fi
fi;
+# Check whether --enable-ld-targets or --disable-ld-targets was given.
+if test "${enable_ld_targets+set}" = set; then
+ enableval="$enable_ld_targets"
+ case "${enableval}" in
+# Check whether --enable-ld-targets was given.
+if test "${enable_ld_targets+set}" = set; then :
+ enableval=$enable_ld_targets; case "${enableval}" in
+ yes | "")
+ { { echo "$as_me:$LINENO: error: --enable-ld-targets option must specify target names or 'all'" >&5
+echo "$as_me: error: --enable-ld-targets option must specify target names or 'all'" >&2;}
+ { (exit 1); exit 1; }; }
+ as_fn_error "--enable-ld-targets option must specify target names or 'all'" "$LINENO" 5
+ ;;
+ no)
+ enable_ld_targets=
@ -32,7 +39,8 @@
+ # For now, enable all targets by default
+ enable_ld_targets=$enable_targets
+
+fi;
+fi
+
+
# Canonicalize the enabled targets.
-if test -n "$enable_targets"; then
@ -42,9 +50,11 @@
result=`$ac_config_sub $targ 2>/dev/null`
if test -n "$result"; then
canon_targets="$canon_targets $result"
--- gold/configure.ac
+++ gold/configure.ac
@@ -70,9 +70,26 @@ esac],
Index: gold/configure.ac
===================================================================
--- gold/configure.ac.orig 2009-10-10 01:20:44.000000000 +0200
+++ gold/configure.ac 2009-10-13 17:12:56.000000000 +0200
@@ -84,9 +84,26 @@ esac],
enable_targets=all
])
@ -73,37 +83,19 @@
result=`$ac_config_sub $targ 2>/dev/null`
if test -n "$result"; then
canon_targets="$canon_targets $result"
--- ld/configure
+++ ld/configure
@@ -1003,6 +1003,7 @@ Optional Features:
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
Index: ld/configure
===================================================================
--- ld/configure.orig 2009-08-22 19:59:33.000000000 +0200
+++ ld/configure 2009-10-13 17:12:56.000000000 +0200
@@ -1547,6 +1547,7 @@ Optional Features:
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
--enable-targets alternative target configurations
+ --enable-ld-targets alternative target configurations
--enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
--enable-got=<type> GOT handling scheme (target, single, negative,
multigot)
@@ -3283,6 +3284,19 @@ echo "$as_me: error: enable-targets opti
no) enable_targets= ;;
*) enable_targets=$enableval ;;
esac
+fi; # Check whether --enable-ld-targets or --disable-ld-targets was given.
+if test "${enable_ld_targets+set}" = set; then
+ enableval="$enable_ld_targets"
+ case "${enableval}" in
+ yes | "") { { echo "$as_me:$LINENO: error: enable-ld-targets option must specify target names or 'all'" >&5
+echo "$as_me: error: enable-ld-targets option must specify target names or 'all'" >&2;}
+ { (exit 1); exit 1; }; }
+ ;;
+ no) enable_ld_targets= ;;
+ *) enable_ld_targets=$enableval ;;
+esac
+else
+ enable_ld_targets=$enable_targets
fi; # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
if test "${enable_64_bit_bfd+set}" = set; then
enableval="$enable_64_bit_bfd"
@@ -12958,7 +12972,7 @@ all_libpath=
@@ -12818,7 +12819,7 @@ all_libpath=
rm -f tdirs
@ -112,9 +104,11 @@
do
if test "$targ_alias" = "all"; then
all_targets=true
--- ld/configure.in
+++ ld/configure.in
@@ -21,6 +21,14 @@ AC_ARG_ENABLE(targets,
Index: ld/configure.in
===================================================================
--- ld/configure.in.orig 2009-08-22 19:59:33.000000000 +0200
+++ ld/configure.in 2009-10-13 17:12:56.000000000 +0200
@@ -22,6 +22,14 @@ AC_ARG_ENABLE(targets,
no) enable_targets= ;;
*) enable_targets=$enableval ;;
esac])dnl
@ -129,7 +123,7 @@
AC_ARG_ENABLE(64-bit-bfd,
[ --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)],
[case "${enableval}" in
@@ -187,7 +195,7 @@ dnl not permit literal newlines in an AC
@@ -190,7 +198,7 @@ dnl not permit literal newlines in an AC
dnl file.
rm -f tdirs

View File

@ -1,17 +0,0 @@
2009-08-20 Richard Guenther <rguenther@suse.de>
* scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
Index: ld/scripttempl/elf.sc
===================================================================
--- ld/scripttempl/elf.sc.orig 2009-01-16 15:14:06.000000000 +0100
+++ ld/scripttempl/elf.sc 2009-08-20 11:18:16.000000000 +0200
@@ -127,7 +127,7 @@ fi
DYNAMIC=".dynamic ${RELOCATING-0} : { *(.dynamic) }"
RODATA=".rodata ${RELOCATING-0} : { *(.rodata${RELOCATING+ .rodata.* .gnu.linkonce.r.*}) }"
DATARELRO=".data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*) }"
-DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) }"
+DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }"
if test -z "${NO_SMALL_DATA}"; then
SBSS=".sbss ${RELOCATING-0} :
{

View File

@ -1,8 +1,8 @@
Index: ld/emulparams/elf_i386.sh
================================================================================
--- ld/emulparams/elf_i386.sh
+++ ld/emulparams/elf_i386.sh
@@ -12,3 +12,8 @@
===================================================================
--- ld/emulparams/elf_i386.sh.orig 2009-10-13 17:26:45.000000000 +0200
+++ ld/emulparams/elf_i386.sh 2009-10-13 17:26:51.000000000 +0200
@@ -12,4 +12,9 @@ GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
NO_SMALL_DATA=yes
SEPARATE_GOTPLT=12
@ -11,3 +11,4 @@ Index: ld/emulparams/elf_i386.sh
+case "$EMULATION_NAME" in
+ *64*) LIBPATH_SUFFIX=64 ;;
+esac
IREL_IN_PLT=