forked from pool/binutils
checked in
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=10
This commit is contained in:
parent
37dd0d09c6
commit
8c3e5e79da
3
binutils-2.19.51.tar.bz2
Normal file
3
binutils-2.19.51.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7ca13d3b310eb5f911e9e37a15ea3b2a1aebd5d2234d3fbc34261b7a019396a9
|
||||||
|
size 17835911
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e73921a0c4fbe122e939f78f05af4798b231c54895605eaff922d88ae9b71946
|
|
||||||
size 18646989
|
|
@ -1,7 +1,7 @@
|
|||||||
Index: ld/ldmain.c
|
Index: ld/ldmain.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- ld/ldmain.c.orig 2009-11-23 14:03:09.000000000 +0100
|
--- ld/ldmain.c.orig 2009-06-09 14:34:35.000000000 +0200
|
||||||
+++ ld/ldmain.c 2009-11-23 14:03:10.000000000 +0100
|
+++ ld/ldmain.c 2009-06-09 14:47:37.000000000 +0200
|
||||||
@@ -277,6 +277,8 @@ main (int argc, char **argv)
|
@@ -277,6 +277,8 @@ main (int argc, char **argv)
|
||||||
link_info.pei386_auto_import = -1;
|
link_info.pei386_auto_import = -1;
|
||||||
link_info.spare_dynamic_tags = 5;
|
link_info.spare_dynamic_tags = 5;
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
Index: ld/emultempl/elf32.em
|
--- ld/emultempl/elf32.em
|
||||||
===================================================================
|
+++ ld/emultempl/elf32.em
|
||||||
--- ld/emultempl/elf32.em.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -1377,15 +1377,46 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" !=
|
||||||
+++ ld/emultempl/elf32.em 2009-11-23 14:03:07.000000000 +0100
|
|
||||||
@@ -1394,15 +1394,46 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" !=
|
|
||||||
else
|
else
|
||||||
ELF_INTERPRETER_SET_DEFAULT=
|
ELF_INTERPRETER_SET_DEFAULT=
|
||||||
fi
|
fi
|
||||||
@ -50,7 +48,7 @@ Index: ld/emultempl/elf32.em
|
|||||||
asection *sinterp;
|
asection *sinterp;
|
||||||
|
|
||||||
if (link_info.hash->type == bfd_link_elf_hash_table)
|
if (link_info.hash->type == bfd_link_elf_hash_table)
|
||||||
@@ -1417,7 +1448,66 @@ gld${EMULATION_NAME}_before_allocation (
|
@@ -1400,7 +1431,66 @@ gld${EMULATION_NAME}_before_allocation (
|
||||||
by dynamic linking. */
|
by dynamic linking. */
|
||||||
rpath = command_line.rpath;
|
rpath = command_line.rpath;
|
||||||
if (rpath == NULL)
|
if (rpath == NULL)
|
||||||
@ -116,5 +114,5 @@ Index: ld/emultempl/elf32.em
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
if (! (bfd_elf_size_dynamic_sections
|
if (! (bfd_elf_size_dynamic_sections
|
||||||
(link_info.output_bfd, command_line.soname, rpath,
|
(output_bfd, command_line.soname, rpath,
|
||||||
command_line.filter_shlib,
|
command_line.filter_shlib,
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: binutils
|
Name: binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -131,7 +127,7 @@ Authors:
|
|||||||
Jim Kingdon <kingdon@cygnus.com>
|
Jim Kingdon <kingdon@cygnus.com>
|
||||||
Jim Wilson <wilson@redhat.com>
|
Jim Wilson <wilson@redhat.com>
|
||||||
John Gilmore <gnu@cygnus.com>
|
John Gilmore <gnu@cygnus.com>
|
||||||
Joern Rennecke <amylaar@redhat.com>
|
Jörn Rennecke <amylaar@redhat.com>
|
||||||
K. Richard Pixley <rich@cygnus.com>
|
K. Richard Pixley <rich@cygnus.com>
|
||||||
Ken Raeburn <raeburn@cygnus.com>
|
Ken Raeburn <raeburn@cygnus.com>
|
||||||
Kung Hsu <kung@cygnus.com>
|
Kung Hsu <kung@cygnus.com>
|
||||||
@ -198,7 +194,7 @@ Authors:
|
|||||||
Andrew Chatham
|
Andrew Chatham
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPL v2 or later; LGPL v2.1 or later
|
License: GPL v2 or later ; GPL v3 or later ; LGPL v2.1 or later
|
||||||
Summary: GNU binutils (BFD development files)
|
Summary: GNU binutils (BFD development files)
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Requires: binutils = %{version}-%{release}, zlib-devel
|
Requires: binutils = %{version}-%{release}, zlib-devel
|
||||||
@ -245,7 +241,7 @@ Authors:
|
|||||||
Jim Kingdon <kingdon@cygnus.com>
|
Jim Kingdon <kingdon@cygnus.com>
|
||||||
Jim Wilson <wilson@redhat.com>
|
Jim Wilson <wilson@redhat.com>
|
||||||
John Gilmore <gnu@cygnus.com>
|
John Gilmore <gnu@cygnus.com>
|
||||||
Joern Rennecke <amylaar@redhat.com>
|
Jörn Rennecke <amylaar@redhat.com>
|
||||||
K. Richard Pixley <rich@cygnus.com>
|
K. Richard Pixley <rich@cygnus.com>
|
||||||
Ken Raeburn <raeburn@cygnus.com>
|
Ken Raeburn <raeburn@cygnus.com>
|
||||||
Kung Hsu <kung@cygnus.com>
|
Kung Hsu <kung@cygnus.com>
|
||||||
@ -290,7 +286,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -342,6 +340,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
@ -357,8 +356,8 @@ make %{?jobs:-j%jobs}
|
|||||||
%ifarch %gold_archs
|
%ifarch %gold_archs
|
||||||
mkdir ../build-dir2
|
mkdir ../build-dir2
|
||||||
cd ../build-dir2
|
cd ../build-dir2
|
||||||
../configure --disable-ld-targets %common_flags %extra_gold_targets \
|
../configure %common_flags %extra_gold_targets \
|
||||||
--enable-shared --enable-gold --program-prefix=go --enable-plugins
|
--enable-shared --enable-gold --program-prefix=go
|
||||||
make %{?jobs:-j%jobs}
|
make %{?jobs:-j%jobs}
|
||||||
%endif
|
%endif
|
||||||
mkdir ../build-dir3
|
mkdir ../build-dir3
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-alpha-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-alpha-binutils
|
Name: cross-alpha-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-arm-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-arm-binutils
|
Name: cross-arm-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-avr-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-avr-binutils
|
Name: cross-avr-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-hppa-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-hppa-binutils
|
Name: cross-hppa-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-hppa64-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-hppa64-binutils
|
Name: cross-hppa64-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-i386-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-i386-binutils
|
Name: cross-i386-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-ia64-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-ia64-binutils
|
Name: cross-ia64-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-mips-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-mips-binutils
|
Name: cross-mips-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-ppc-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-ppc-binutils
|
Name: cross-ppc-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-ppc64-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-ppc64-binutils
|
Name: cross-ppc64-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-s390-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-s390-binutils
|
Name: cross-s390-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-s390x-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-s390x-binutils
|
Name: cross-s390x-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-sh4-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-sh4-binutils
|
Name: cross-sh4-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-sparc-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-sparc-binutils
|
Name: cross-sparc-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-spu-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-spu-binutils
|
Name: cross-spu-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
|
||||||
|
|
||||||
- Copy from SLE11 SP1. Compared to that add --as-needed by default
|
|
||||||
patch again.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-x86_64-binutils (Version 2.19.51)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,14 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-x86_64-binutils
|
Name: cross-x86_64-binutils
|
||||||
BuildRequires: bison dejagnu flex gcc-c++
|
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static
|
||||||
%if 0%{suse_version} > 1110
|
Version: 2.19.51
|
||||||
BuildRequires: zlib-devel-static
|
Release: 11
|
||||||
%else
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%endif
|
|
||||||
Version: 2.20.0
|
|
||||||
Release: 10
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -38,7 +33,6 @@ Release: 10
|
|||||||
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
|
||||||
%define make_check_handling false
|
%define make_check_handling false
|
||||||
%endif
|
%endif
|
||||||
# let make check fail anyway if RUN_TESTS was requested
|
# let make check fail anyway if RUN_TESTS was requested
|
||||||
@ -56,7 +50,7 @@ Release: 10
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
Url: http://www.gnu.org/software/binutils/
|
Url: http://www.gnu.org/software/binutils/
|
||||||
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later; LGPL v2.0 or later; LGPL v2.1 or later; LGPL v3 or later
|
License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -81,7 +75,9 @@ Patch9: testsuite.diff
|
|||||||
Patch10: enable-targets.diff
|
Patch10: enable-targets.diff
|
||||||
Patch11: use-hashtype-both-by-default.diff
|
Patch11: use-hashtype-both-by-default.diff
|
||||||
Patch12: s390-pic-dso.diff
|
Patch12: s390-pic-dso.diff
|
||||||
|
Patch13: gold-basename.diff
|
||||||
Patch14: binutils-build-as-needed.diff
|
Patch14: binutils-build-as-needed.diff
|
||||||
|
Patch15: lto-discard.diff
|
||||||
Patch90: cross-avr-nesc-as.patch
|
Patch90: cross-avr-nesc-as.patch
|
||||||
Patch92: cross-avr-omit_section_dynsym.patch
|
Patch92: cross-avr-omit_section_dynsym.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -262,7 +258,9 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11
|
%patch11
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
|
%patch15
|
||||||
%if "%{TARGET}" == "avr"
|
%if "%{TARGET}" == "avr"
|
||||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||||
%patch90
|
%patch90
|
||||||
@ -314,6 +312,7 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
|
|||||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||||
--with-pic --build=%{HOST} \\\
|
--with-pic --build=%{HOST} \\\
|
||||||
|
--disable-ld-targets \\\
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
%define extra_ld_targets \\\
|
%define extra_ld_targets \\\
|
||||||
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"}
|
||||||
|
@ -1,32 +1,25 @@
|
|||||||
Index: gold/configure
|
--- gold/configure
|
||||||
===================================================================
|
+++ gold/configure
|
||||||
--- gold/configure.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -867,6 +867,7 @@ Optional Features:
|
||||||
+++ gold/configure 2009-11-23 14:03:09.000000000 +0100
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||||
@@ -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-threads multi-threaded linking
|
||||||
--enable-plugins linker plugins
|
|
||||||
--enable-targets alternative target configurations
|
--enable-targets alternative target configurations
|
||||||
+ --enable-ld-targets alternative target configurations
|
+ --enable-ld-targets alternative target configurations
|
||||||
--disable-dependency-tracking speeds up one-time build
|
--disable-dependency-tracking speeds up one-time build
|
||||||
--enable-dependency-tracking do not reject slow dependency extractors
|
--enable-dependency-tracking do not reject slow dependency extractors
|
||||||
--disable-nls do not use Native Language Support
|
--disable-nls do not use Native Language Support
|
||||||
@@ -3297,9 +3299,29 @@ else
|
@@ -1981,9 +1982,31 @@ else
|
||||||
fi
|
|
||||||
|
|
||||||
|
fi;
|
||||||
|
|
||||||
+# Check whether --enable-ld-targets was given.
|
+# Check whether --enable-ld-targets or --disable-ld-targets was given.
|
||||||
+if test "${enable_ld_targets+set}" = set; then :
|
+if test "${enable_ld_targets+set}" = set; then
|
||||||
+ enableval=$enable_ld_targets; case "${enableval}" in
|
+ enableval="$enable_ld_targets"
|
||||||
|
+ case "${enableval}" in
|
||||||
+ yes | "")
|
+ yes | "")
|
||||||
+ as_fn_error "--enable-ld-targets option must specify target names or 'all'" "$LINENO" 5
|
+ { { 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)
|
+ no)
|
||||||
+ enable_ld_targets=
|
+ enable_ld_targets=
|
||||||
@ -39,8 +32,7 @@ Index: gold/configure
|
|||||||
+ # For now, enable all targets by default
|
+ # For now, enable all targets by default
|
||||||
+ enable_ld_targets=$enable_targets
|
+ enable_ld_targets=$enable_targets
|
||||||
+
|
+
|
||||||
+fi
|
+fi;
|
||||||
+
|
|
||||||
+
|
+
|
||||||
# Canonicalize the enabled targets.
|
# Canonicalize the enabled targets.
|
||||||
-if test -n "$enable_targets"; then
|
-if test -n "$enable_targets"; then
|
||||||
@ -50,11 +42,9 @@ Index: gold/configure
|
|||||||
result=`$ac_config_sub $targ 2>/dev/null`
|
result=`$ac_config_sub $targ 2>/dev/null`
|
||||||
if test -n "$result"; then
|
if test -n "$result"; then
|
||||||
canon_targets="$canon_targets $result"
|
canon_targets="$canon_targets $result"
|
||||||
Index: gold/configure.ac
|
--- gold/configure.ac
|
||||||
===================================================================
|
+++ gold/configure.ac
|
||||||
--- gold/configure.ac.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -70,9 +70,26 @@ esac],
|
||||||
+++ gold/configure.ac 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -84,9 +84,26 @@ esac],
|
|
||||||
enable_targets=all
|
enable_targets=all
|
||||||
])
|
])
|
||||||
|
|
||||||
@ -83,19 +73,37 @@ Index: gold/configure.ac
|
|||||||
result=`$ac_config_sub $targ 2>/dev/null`
|
result=`$ac_config_sub $targ 2>/dev/null`
|
||||||
if test -n "$result"; then
|
if test -n "$result"; then
|
||||||
canon_targets="$canon_targets $result"
|
canon_targets="$canon_targets $result"
|
||||||
Index: ld/configure
|
--- ld/configure
|
||||||
===================================================================
|
+++ ld/configure
|
||||||
--- ld/configure.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -1003,6 +1003,7 @@ Optional Features:
|
||||||
+++ ld/configure 2009-11-23 14:03:09.000000000 +0100
|
--disable-dependency-tracking speeds up one-time build
|
||||||
@@ -1547,6 +1547,7 @@ Optional Features:
|
--enable-dependency-tracking do not reject slow dependency extractors
|
||||||
--enable-maintainer-mode enable make rules and dependencies not useful
|
|
||||||
(and sometimes confusing) to the casual installer
|
|
||||||
--enable-targets alternative target configurations
|
--enable-targets alternative target configurations
|
||||||
+ --enable-ld-targets alternative target configurations
|
+ --enable-ld-targets alternative target configurations
|
||||||
--enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
|
--enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
|
||||||
--enable-got=<type> GOT handling scheme (target, single, negative,
|
--enable-got=<type> GOT handling scheme (target, single, negative,
|
||||||
multigot)
|
multigot)
|
||||||
@@ -12818,7 +12819,7 @@ all_libpath=
|
@@ -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=
|
||||||
|
|
||||||
rm -f tdirs
|
rm -f tdirs
|
||||||
|
|
||||||
@ -104,11 +112,9 @@ Index: ld/configure
|
|||||||
do
|
do
|
||||||
if test "$targ_alias" = "all"; then
|
if test "$targ_alias" = "all"; then
|
||||||
all_targets=true
|
all_targets=true
|
||||||
Index: ld/configure.in
|
--- ld/configure.in
|
||||||
===================================================================
|
+++ ld/configure.in
|
||||||
--- ld/configure.in.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -21,6 +21,14 @@ AC_ARG_ENABLE(targets,
|
||||||
+++ ld/configure.in 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -22,6 +22,14 @@ AC_ARG_ENABLE(targets,
|
|
||||||
no) enable_targets= ;;
|
no) enable_targets= ;;
|
||||||
*) enable_targets=$enableval ;;
|
*) enable_targets=$enableval ;;
|
||||||
esac])dnl
|
esac])dnl
|
||||||
@ -123,7 +129,7 @@ Index: ld/configure.in
|
|||||||
AC_ARG_ENABLE(64-bit-bfd,
|
AC_ARG_ENABLE(64-bit-bfd,
|
||||||
[ --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)],
|
[ --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
@@ -190,7 +198,7 @@ dnl not permit literal newlines in an AC
|
@@ -187,7 +195,7 @@ dnl not permit literal newlines in an AC
|
||||||
dnl file.
|
dnl file.
|
||||||
rm -f tdirs
|
rm -f tdirs
|
||||||
|
|
||||||
|
2054
gold-basename.diff
Normal file
2054
gold-basename.diff
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,6 @@
|
|||||||
Index: binutils-2.20.0/ld/ld.texinfo
|
--- binutils-2.17.50/ld/ld.texinfo
|
||||||
===================================================================
|
+++ binutils-2.17.50/ld/ld.texinfo
|
||||||
--- binutils-2.20.0.orig/ld/ld.texinfo 2009-11-23 14:02:48.000000000 +0100
|
@@ -1941,7 +1941,7 @@
|
||||||
+++ binutils-2.20.0/ld/ld.texinfo 2009-11-23 14:03:08.000000000 +0100
|
|
||||||
@@ -2026,7 +2026,7 @@ This linker can create the new dynamic t
|
|
||||||
systems may not understand them. If you specify
|
systems may not understand them. If you specify
|
||||||
@option{--enable-new-dtags}, the dynamic tags will be created as needed.
|
@option{--enable-new-dtags}, the dynamic tags will be created as needed.
|
||||||
If you specify @option{--disable-new-dtags}, no new dynamic tags will be
|
If you specify @option{--disable-new-dtags}, no new dynamic tags will be
|
||||||
@ -11,15 +9,13 @@ Index: binutils-2.20.0/ld/ld.texinfo
|
|||||||
those options are only available for ELF systems.
|
those options are only available for ELF systems.
|
||||||
|
|
||||||
@kindex --hash-size=@var{number}
|
@kindex --hash-size=@var{number}
|
||||||
Index: binutils-2.20.0/ld/ldmain.c
|
--- binutils-2.17.50/ld/ldmain.c
|
||||||
===================================================================
|
+++ binutils-2.17.50/ld/ldmain.c
|
||||||
--- binutils-2.20.0.orig/ld/ldmain.c 2009-11-23 14:02:48.000000000 +0100
|
@@ -263,6 +263,7 @@
|
||||||
+++ binutils-2.20.0/ld/ldmain.c 2009-11-23 14:03:08.000000000 +0100
|
|
||||||
@@ -262,6 +262,7 @@ main (int argc, char **argv)
|
|
||||||
|
|
||||||
link_info.allow_undefined_version = TRUE;
|
link_info.allow_undefined_version = TRUE;
|
||||||
link_info.keep_memory = TRUE;
|
link_info.keep_memory = TRUE;
|
||||||
+ link_info.new_dtags = TRUE;
|
+ link_info.new_dtags = TRUE;
|
||||||
link_info.combreloc = TRUE;
|
link_info.combreloc = TRUE;
|
||||||
link_info.strip_discarded = TRUE;
|
link_info.strip_discarded = TRUE;
|
||||||
link_info.emit_hash = TRUE;
|
link_info.callbacks = &link_callbacks;
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
Index: ld/lexsup.c
|
--- ld/lexsup.c
|
||||||
===================================================================
|
+++ ld/lexsup.c
|
||||||
--- ld/lexsup.c.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -643,6 +643,9 @@
|
||||||
+++ ld/lexsup.c 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -687,6 +687,9 @@ parse_args (unsigned argc, char **argv)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -12,11 +10,9 @@ Index: ld/lexsup.c
|
|||||||
last_optind = -1;
|
last_optind = -1;
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
Index: ld/testsuite/config/default.exp
|
--- ld/testsuite/config/default.exp
|
||||||
===================================================================
|
+++ ld/testsuite/config/default.exp
|
||||||
--- ld/testsuite/config/default.exp.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -20,7 +20,7 @@
|
||||||
+++ ld/testsuite/config/default.exp 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
#
|
#
|
||||||
|
|
||||||
if ![info exists ld] then {
|
if ![info exists ld] then {
|
||||||
@ -25,7 +21,7 @@ Index: ld/testsuite/config/default.exp
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ![info exists as] then {
|
if ![info exists as] then {
|
||||||
@@ -68,7 +68,7 @@ if {![file isdirectory tmpdir/ld]} then
|
@@ -67,7 +67,7 @@
|
||||||
catch "exec mkdir tmpdir/ld" status
|
catch "exec mkdir tmpdir/ld" status
|
||||||
catch "exec ln -s ../../ld-new tmpdir/ld/ld" status
|
catch "exec ln -s ../../ld-new tmpdir/ld/ld" status
|
||||||
}
|
}
|
||||||
@ -34,7 +30,7 @@ Index: ld/testsuite/config/default.exp
|
|||||||
|
|
||||||
# load the linker path
|
# load the linker path
|
||||||
if {[file exists tmpdir/libpath.exp]} {
|
if {[file exists tmpdir/libpath.exp]} {
|
||||||
@@ -270,7 +270,7 @@ if ![info exists READELFFLAGS] then {
|
@@ -261,7 +261,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if ![info exists LD] then {
|
if ![info exists LD] then {
|
||||||
@ -43,11 +39,9 @@ Index: ld/testsuite/config/default.exp
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ![info exists LDFLAGS] then {
|
if ![info exists LDFLAGS] then {
|
||||||
Index: ld/testsuite/ld-bootstrap/bootstrap.exp
|
--- ld/testsuite/ld-bootstrap/bootstrap.exp
|
||||||
===================================================================
|
+++ ld/testsuite/ld-bootstrap/bootstrap.exp
|
||||||
--- ld/testsuite/ld-bootstrap/bootstrap.exp.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -53,7 +53,12 @@
|
||||||
+++ ld/testsuite/ld-bootstrap/bootstrap.exp 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -56,7 +56,12 @@ foreach flags {"" "strip" "--static" "--
|
|
||||||
|
|
||||||
# This test can only be run if we have the ld build directory,
|
# This test can only be run if we have the ld build directory,
|
||||||
# since we need the object files.
|
# since we need the object files.
|
||||||
|
17
lto-discard.diff
Normal file
17
lto-discard.diff
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
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} :
|
||||||
|
{
|
@ -1,8 +1,6 @@
|
|||||||
Index: ld/emulparams/elf_s390.sh
|
--- ld/emulparams/elf_s390.sh
|
||||||
===================================================================
|
+++ ld/emulparams/elf_s390.sh
|
||||||
--- ld/emulparams/elf_s390.sh.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -11,3 +11,18 @@
|
||||||
+++ ld/emulparams/elf_s390.sh 2009-11-23 14:03:08.000000000 +0100
|
|
||||||
@@ -11,3 +11,18 @@ TEMPLATE_NAME=elf32
|
|
||||||
GENERATE_SHLIB_SCRIPT=yes
|
GENERATE_SHLIB_SCRIPT=yes
|
||||||
GENERATE_PIE_SCRIPT=yes
|
GENERATE_PIE_SCRIPT=yes
|
||||||
NO_SMALL_DATA=yes
|
NO_SMALL_DATA=yes
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
Index: bfd/elf32-s390.c
|
--- bfd/elf32-s390.c
|
||||||
===================================================================
|
+++ bfd/elf32-s390.c
|
||||||
--- bfd/elf32-s390.c.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -2546,13 +2546,34 @@ elf_s390_relocate_section (output_bfd, i
|
||||||
+++ bfd/elf32-s390.c 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -2509,13 +2509,34 @@ elf_s390_relocate_section (output_bfd, i
|
|
||||||
unresolved_reloc = FALSE;
|
unresolved_reloc = FALSE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -40,11 +38,9 @@ Index: bfd/elf32-s390.c
|
|||||||
if ((input_section->flags & SEC_ALLOC) == 0)
|
if ((input_section->flags & SEC_ALLOC) == 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
Index: bfd/elf64-s390.c
|
--- bfd/elf64-s390.c
|
||||||
===================================================================
|
+++ bfd/elf64-s390.c
|
||||||
--- bfd/elf64-s390.c.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -2525,15 +2525,36 @@ elf_s390_relocate_section (output_bfd, i
|
||||||
+++ bfd/elf64-s390.c 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -2486,15 +2486,36 @@ elf_s390_relocate_section (output_bfd, i
|
|
||||||
unresolved_reloc = FALSE;
|
unresolved_reloc = FALSE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -85,10 +81,8 @@ Index: bfd/elf64-s390.c
|
|||||||
if ((input_section->flags & SEC_ALLOC) == 0)
|
if ((input_section->flags & SEC_ALLOC) == 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
Index: ld/testsuite/ld-elfvers/vers.exp
|
--- ld/testsuite/ld-elfvers/vers.exp
|
||||||
===================================================================
|
+++ ld/testsuite/ld-elfvers/vers.exp
|
||||||
--- ld/testsuite/ld-elfvers/vers.exp.orig 2009-11-23 14:02:48.000000000 +0100
|
|
||||||
+++ ld/testsuite/ld-elfvers/vers.exp 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -97,6 +97,7 @@ if [istarget mips*-*-*] {
|
@@ -97,6 +97,7 @@ if [istarget mips*-*-*] {
|
||||||
|
|
||||||
case $target_triplet in {
|
case $target_triplet in {
|
||||||
@ -109,11 +103,9 @@ Index: ld/testsuite/ld-elfvers/vers.exp
|
|||||||
set pic "yes"
|
set pic "yes"
|
||||||
} else {
|
} else {
|
||||||
set pic "no"
|
set pic "no"
|
||||||
Index: ld/testsuite/ld-elfvsb/elfvsb.exp
|
--- ld/testsuite/ld-elfvsb/elfvsb.exp
|
||||||
===================================================================
|
+++ ld/testsuite/ld-elfvsb/elfvsb.exp
|
||||||
--- ld/testsuite/ld-elfvsb/elfvsb.exp.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -268,6 +268,7 @@ proc visibility_run {visibility} {
|
||||||
+++ ld/testsuite/ld-elfvsb/elfvsb.exp 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -269,6 +269,7 @@ proc visibility_run {visibility} {
|
|
||||||
setup_xfail "sparc*-*-linux*"
|
setup_xfail "sparc*-*-linux*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -121,7 +113,7 @@ Index: ld/testsuite/ld-elfvsb/elfvsb.exp
|
|||||||
setup_xfail "x86_64-*-linux*"
|
setup_xfail "x86_64-*-linux*"
|
||||||
if { ![istarget hppa*64*-*-linux*] } {
|
if { ![istarget hppa*64*-*-linux*] } {
|
||||||
setup_xfail "hppa*-*-linux*"
|
setup_xfail "hppa*-*-linux*"
|
||||||
@@ -307,6 +308,7 @@ proc visibility_run {visibility} {
|
@@ -306,6 +307,7 @@ proc visibility_run {visibility} {
|
||||||
setup_xfail "alpha*-*-linux*"
|
setup_xfail "alpha*-*-linux*"
|
||||||
setup_xfail "mips*-*-linux*"
|
setup_xfail "mips*-*-linux*"
|
||||||
}
|
}
|
||||||
@ -129,7 +121,7 @@ Index: ld/testsuite/ld-elfvsb/elfvsb.exp
|
|||||||
setup_xfail "x86_64-*-linux*"
|
setup_xfail "x86_64-*-linux*"
|
||||||
if { ![istarget hppa*64*-*-linux*] } {
|
if { ![istarget hppa*64*-*-linux*] } {
|
||||||
setup_xfail "hppa*-*-linux*"
|
setup_xfail "hppa*-*-linux*"
|
||||||
@@ -373,6 +375,7 @@ proc visibility_run {visibility} {
|
@@ -372,6 +374,7 @@ proc visibility_run {visibility} {
|
||||||
setup_xfail "sparc*-*-linux*"
|
setup_xfail "sparc*-*-linux*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -137,10 +129,8 @@ Index: ld/testsuite/ld-elfvsb/elfvsb.exp
|
|||||||
setup_xfail "x86_64-*-linux*"
|
setup_xfail "x86_64-*-linux*"
|
||||||
if { ![istarget hppa*64*-*-linux*] } {
|
if { ![istarget hppa*64*-*-linux*] } {
|
||||||
setup_xfail "hppa*-*-linux*"
|
setup_xfail "hppa*-*-linux*"
|
||||||
Index: ld/testsuite/ld-shared/shared.exp
|
--- ld/testsuite/ld-shared/shared.exp
|
||||||
===================================================================
|
+++ ld/testsuite/ld-shared/shared.exp
|
||||||
--- ld/testsuite/ld-shared/shared.exp.orig 2009-11-23 14:02:48.000000000 +0100
|
|
||||||
+++ ld/testsuite/ld-shared/shared.exp 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -211,7 +211,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $
|
@@ -211,7 +211,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $
|
||||||
setup_xfail "sparc*-*-linux*"
|
setup_xfail "sparc*-*-linux*"
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
Index: libiberty/configure
|
--- libiberty/configure
|
||||||
===================================================================
|
+++ libiberty/configure
|
||||||
--- libiberty/configure.orig 2009-11-23 14:02:49.000000000 +0100
|
@@ -3726,7 +3726,7 @@ if [ "${shared}" = "yes" ]; then
|
||||||
+++ libiberty/configure 2009-11-23 14:03:07.000000000 +0100
|
|
||||||
@@ -4859,7 +4859,7 @@ if [ "${shared}" = "yes" ]; then
|
|
||||||
*-fpic* ) PICFLAG=-fpic ;;
|
*-fpic* ) PICFLAG=-fpic ;;
|
||||||
* ) PICFLAG=-fPIC ;;
|
* ) PICFLAG=-fPIC ;;
|
||||||
esac ;;
|
esac ;;
|
||||||
@ -11,11 +9,9 @@ Index: libiberty/configure
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Index: libiberty/configure.ac
|
--- libiberty/configure.ac
|
||||||
===================================================================
|
+++ libiberty/configure.ac
|
||||||
--- libiberty/configure.ac.orig 2009-11-23 14:02:49.000000000 +0100
|
@@ -214,7 +214,7 @@ if [[ "${shared}" = "yes" ]]; then
|
||||||
+++ libiberty/configure.ac 2009-11-23 14:03:07.000000000 +0100
|
|
||||||
@@ -216,7 +216,7 @@ if [[ "${shared}" = "yes" ]]; then
|
|
||||||
*-fpic* ) PICFLAG=-fpic ;;
|
*-fpic* ) PICFLAG=-fpic ;;
|
||||||
* ) PICFLAG=-fPIC ;;
|
* ) PICFLAG=-fPIC ;;
|
||||||
esac ;;
|
esac ;;
|
||||||
|
@ -1,22 +1,18 @@
|
|||||||
Index: binutils/testsuite/binutils-all/windres/windres.exp
|
--- binutils/testsuite/binutils-all/windres/windres.exp
|
||||||
===================================================================
|
+++ binutils/testsuite/binutils-all/windres/windres.exp
|
||||||
--- binutils/testsuite/binutils-all/windres/windres.exp.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -46,6 +46,7 @@
|
||||||
+++ binutils/testsuite/binutils-all/windres/windres.exp 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -36,6 +36,7 @@ set wr "$WINDRES --include-dir $srcdir/$
|
|
||||||
if [file exists "$srcdir/../../winsup/w32api/include"] {
|
|
||||||
set wr "$wr --include-dir $srcdir/../../winsup/w32api/include"
|
set wr "$wr --include-dir $srcdir/../../winsup/w32api/include"
|
||||||
|
set target_xfail "no"
|
||||||
} else {
|
} else {
|
||||||
+ return
|
+ return
|
||||||
send_log "\nWarning: Assuming windres can find the win32 headers\n\n"
|
send_log "\nWarning: Assuming windres can find the win32 headers\n\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
Index: ld/testsuite/ld-srec/srec.exp
|
--- ld/testsuite/ld-srec/srec.exp
|
||||||
===================================================================
|
+++ ld/testsuite/ld-srec/srec.exp
|
||||||
--- ld/testsuite/ld-srec/srec.exp.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -17,6 +17,9 @@
|
||||||
+++ ld/testsuite/ld-srec/srec.exp 2009-11-23 14:03:09.000000000 +0100
|
# along with this program; if not, write to the Free Software
|
||||||
@@ -20,6 +20,9 @@
|
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
|
||||||
# MA 02110-1301, USA.
|
|
||||||
|
|
||||||
+# Too fragile.
|
+# Too fragile.
|
||||||
+return
|
+return
|
||||||
@ -24,16 +20,13 @@ Index: ld/testsuite/ld-srec/srec.exp
|
|||||||
# Get the offset from an S-record line to the start of the data.
|
# Get the offset from an S-record line to the start of the data.
|
||||||
|
|
||||||
proc srec_off { l } {
|
proc srec_off { l } {
|
||||||
Index: ld/testsuite/ld-undefined/undefined.exp
|
--- ld/testsuite/ld-undefined/undefined.exp
|
||||||
===================================================================
|
+++ ld/testsuite/ld-undefined/undefined.exp
|
||||||
--- ld/testsuite/ld-undefined/undefined.exp.orig 2009-11-23 14:02:48.000000000 +0100
|
@@ -127,6 +127,6 @@
|
||||||
+++ ld/testsuite/ld-undefined/undefined.exp 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -136,7 +136,7 @@ setup_xfail "sh64-*-*"
|
|
||||||
# the function. Therefore the line number in the error message is 8 instead
|
# the function. Therefore the line number in the error message is 8 instead
|
||||||
# of 9. On 64 bit s/390 this works because of the new brasl instruction that
|
# of 9. On 64 bit s/390 this works because of the new brasl instruction that
|
||||||
# doesn't need a literal pool entry.
|
# doesn't need a literal pool entry.
|
||||||
-setup_xfail s390-*-*
|
-setup_xfail s390-*-*
|
||||||
+#setup_xfail s390-*-*
|
+#setup_xfail s390-*-*
|
||||||
|
|
||||||
# See comments above for Xtensa.
|
checkund $ml $testline
|
||||||
setup_xfail xtensa*-*-linux*
|
|
||||||
|
@ -1,15 +1,27 @@
|
|||||||
Index: ld/testsuite/ld-selective/selective.exp
|
Index: selective.exp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- ld/testsuite/ld-selective/selective.exp.orig 2009-11-23 14:02:48.000000000 +0100
|
RCS file: /cvs/src/src/ld/testsuite/ld-selective/selective.exp,v
|
||||||
+++ ld/testsuite/ld-selective/selective.exp 2009-11-23 14:03:08.000000000 +0100
|
retrieving revision 1.26
|
||||||
@@ -59,8 +59,8 @@ set seltests {
|
diff -c -3 -p -r1.26 selective.exp
|
||||||
|
*** ld/testsuite/ld-selective/selective.exp 10 Aug 2002 12:48:52 -0000 1.26
|
||||||
|
--- ld/testsuite/ld-selective/selective.exp 19 Aug 2003 08:00:20 -0000
|
||||||
|
*************** set seltests {
|
||||||
|
*** 59,66 ****
|
||||||
{A::foo() B::foo() dropme1() dropme2()} {*-*-*}}
|
{A::foo() B::foo() dropme1() dropme2()} {*-*-*}}
|
||||||
}
|
}
|
||||||
|
|
||||||
-set cflags "-w -O -ffunction-sections -fdata-sections"
|
! set cflags "-w -O -ffunction-sections -fdata-sections"
|
||||||
-set cxxflags "-fvtable-gc -fno-exceptions -fno-rtti"
|
! set cxxflags "-fvtable-gc -fno-exceptions -fno-rtti"
|
||||||
+set cflags "-w -O -ffunction-sections -fdata-sections -fno-unit-at-a-time"
|
|
||||||
+set cxxflags "-fvtable-gc -fno-exceptions -fno-rtti -fno-unit-at-a-time"
|
|
||||||
set ldflags "--gc-sections -Bstatic"
|
set ldflags "--gc-sections -Bstatic"
|
||||||
|
|
||||||
if [istarget mips*-*] {
|
if [istarget sh64*-*-elf] {
|
||||||
|
--- 59,66 ----
|
||||||
|
{A::foo() B::foo() dropme1() dropme2()} {*-*-*}}
|
||||||
|
}
|
||||||
|
|
||||||
|
! set cflags "-w -O -ffunction-sections -fdata-sections -fno-unit-at-a-time"
|
||||||
|
! set cxxflags "-fvtable-gc -fno-exceptions -fno-rtti -fno-unit-at-a-time"
|
||||||
|
set ldflags "--gc-sections -Bstatic"
|
||||||
|
|
||||||
|
if [istarget sh64*-*-elf] {
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
Index: ld/ldmain.c
|
--- ld/ldmain.c
|
||||||
===================================================================
|
+++ ld/ldmain.c
|
||||||
--- ld/ldmain.c.orig 2009-11-23 14:03:08.000000000 +0100
|
@@ -267,6 +267,7 @@
|
||||||
+++ ld/ldmain.c 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -266,6 +266,7 @@ main (int argc, char **argv)
|
|
||||||
link_info.combreloc = TRUE;
|
link_info.combreloc = TRUE;
|
||||||
link_info.strip_discarded = TRUE;
|
link_info.strip_discarded = TRUE;
|
||||||
link_info.emit_hash = TRUE;
|
link_info.emit_hash = TRUE;
|
||||||
@ -10,11 +8,9 @@ Index: ld/ldmain.c
|
|||||||
link_info.callbacks = &link_callbacks;
|
link_info.callbacks = &link_callbacks;
|
||||||
link_info.input_bfds_tail = &link_info.input_bfds;
|
link_info.input_bfds_tail = &link_info.input_bfds;
|
||||||
/* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
|
/* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
|
||||||
Index: ld/testsuite/config/default.exp
|
--- ld/testsuite/config/default.exp
|
||||||
===================================================================
|
+++ ld/testsuite/config/default.exp
|
||||||
--- ld/testsuite/config/default.exp.orig 2009-11-23 14:03:09.000000000 +0100
|
@@ -20,7 +20,7 @@
|
||||||
+++ ld/testsuite/config/default.exp 2009-11-23 14:03:09.000000000 +0100
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
#
|
#
|
||||||
|
|
||||||
if ![info exists ld] then {
|
if ![info exists ld] then {
|
||||||
@ -23,7 +19,7 @@ Index: ld/testsuite/config/default.exp
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ![info exists as] then {
|
if ![info exists as] then {
|
||||||
@@ -68,7 +68,7 @@ if {![file isdirectory tmpdir/ld]} then
|
@@ -67,7 +67,7 @@
|
||||||
catch "exec mkdir tmpdir/ld" status
|
catch "exec mkdir tmpdir/ld" status
|
||||||
catch "exec ln -s ../../ld-new tmpdir/ld/ld" status
|
catch "exec ln -s ../../ld-new tmpdir/ld/ld" status
|
||||||
}
|
}
|
||||||
@ -32,7 +28,7 @@ Index: ld/testsuite/config/default.exp
|
|||||||
|
|
||||||
# load the linker path
|
# load the linker path
|
||||||
if {[file exists tmpdir/libpath.exp]} {
|
if {[file exists tmpdir/libpath.exp]} {
|
||||||
@@ -270,7 +270,7 @@ if ![info exists READELFFLAGS] then {
|
@@ -261,7 +261,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if ![info exists LD] then {
|
if ![info exists LD] then {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Index: ld/emulparams/elf_i386.sh
|
Index: ld/emulparams/elf_i386.sh
|
||||||
===================================================================
|
================================================================================
|
||||||
--- ld/emulparams/elf_i386.sh.orig 2009-11-23 14:02:48.000000000 +0100
|
--- ld/emulparams/elf_i386.sh
|
||||||
+++ ld/emulparams/elf_i386.sh 2009-11-23 14:03:08.000000000 +0100
|
+++ ld/emulparams/elf_i386.sh
|
||||||
@@ -12,4 +12,9 @@ GENERATE_SHLIB_SCRIPT=yes
|
@@ -12,3 +12,8 @@
|
||||||
GENERATE_PIE_SCRIPT=yes
|
GENERATE_PIE_SCRIPT=yes
|
||||||
NO_SMALL_DATA=yes
|
NO_SMALL_DATA=yes
|
||||||
SEPARATE_GOTPLT=12
|
SEPARATE_GOTPLT=12
|
||||||
@ -11,4 +11,3 @@ Index: ld/emulparams/elf_i386.sh
|
|||||||
+case "$EMULATION_NAME" in
|
+case "$EMULATION_NAME" in
|
||||||
+ *64*) LIBPATH_SUFFIX=64 ;;
|
+ *64*) LIBPATH_SUFFIX=64 ;;
|
||||||
+esac
|
+esac
|
||||||
IREL_IN_PLT=
|
|
||||||
|
Loading…
Reference in New Issue
Block a user