SHA256
1
0
forked from pool/binutils

Use the SLE11 SP1 binutils for now.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

- Copy from SLE11 SP1.  Compared to that add --as-needed by default
  patch again.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=9
This commit is contained in:
Michael Matz 2009-11-23 13:16:14 +00:00 committed by Git OBS Bridge
parent 41055b7c62
commit 37dd0d09c6
49 changed files with 395 additions and 2371 deletions

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

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

View File

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

View File

@ -1,7 +1,7 @@
Index: ld/ldmain.c
===================================================================
--- ld/ldmain.c.orig 2009-06-09 14:34:35.000000000 +0200
+++ ld/ldmain.c 2009-06-09 14:47:37.000000000 +0200
--- ld/ldmain.c.orig 2009-11-23 14:03:09.000000000 +0100
+++ ld/ldmain.c 2009-11-23 14:03:10.000000000 +0100
@@ -277,6 +277,8 @@ main (int argc, char **argv)
link_info.pei386_auto_import = -1;
link_info.spare_dynamic_tags = 5;

View File

@ -1,6 +1,8 @@
--- ld/emultempl/elf32.em
+++ ld/emultempl/elf32.em
@@ -1377,15 +1377,46 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" !=
Index: ld/emultempl/elf32.em
===================================================================
--- ld/emultempl/elf32.em.orig 2009-11-23 14:02:48.000000000 +0100
+++ ld/emultempl/elf32.em 2009-11-23 14:03:07.000000000 +0100
@@ -1394,15 +1394,46 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" !=
else
ELF_INTERPRETER_SET_DEFAULT=
fi
@ -48,7 +50,7 @@
asection *sinterp;
if (link_info.hash->type == bfd_link_elf_hash_table)
@@ -1400,7 +1431,66 @@ gld${EMULATION_NAME}_before_allocation (
@@ -1417,7 +1448,66 @@ gld${EMULATION_NAME}_before_allocation (
by dynamic linking. */
rpath = command_line.rpath;
if (rpath == NULL)
@ -114,5 +116,5 @@
+ }
+
if (! (bfd_elf_size_dynamic_sections
(output_bfd, command_line.soname, rpath,
(link_info.output_bfd, command_line.soname, rpath,
command_line.filter_shlib,

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -132,7 +131,7 @@ Authors:
Jim Kingdon <kingdon@cygnus.com>
Jim Wilson <wilson@redhat.com>
John Gilmore <gnu@cygnus.com>
Jörn Rennecke <amylaar@redhat.com>
Joern Rennecke <amylaar@redhat.com>
K. Richard Pixley <rich@cygnus.com>
Ken Raeburn <raeburn@cygnus.com>
Kung Hsu <kung@cygnus.com>
@ -199,7 +198,7 @@ Authors:
Andrew Chatham
%package devel
License: GPL v2 or later ; GPL v3 or later ; LGPL v2.1 or later
License: GPL v2 or later; LGPL v2.1 or later
Summary: GNU binutils (BFD development files)
AutoReqProv: on
Requires: binutils = %{version}-%{release}, zlib-devel
@ -246,7 +245,7 @@ Authors:
Jim Kingdon <kingdon@cygnus.com>
Jim Wilson <wilson@redhat.com>
John Gilmore <gnu@cygnus.com>
Jörn Rennecke <amylaar@redhat.com>
Joern Rennecke <amylaar@redhat.com>
K. Richard Pixley <rich@cygnus.com>
Ken Raeburn <raeburn@cygnus.com>
Kung Hsu <kung@cygnus.com>
@ -281,8 +280,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -292,7 +290,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -373,10 +370,10 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%ifarch %gold_archs
cd ../build-dir2
make -k check-gold CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check-gold CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%endif
#
@ -438,7 +435,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-alpha-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-arm-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-avr-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-hppa-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-hppa64-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-i386-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-ia64-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-mips-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-ppc-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-ppc64-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-s390-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-s390x-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-sh4-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-sparc-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-spu-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils (Version 2.20.51)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,11 +20,11 @@
Name: cross-x86_64-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
BuildRequires: zlib-devel
%endif
Version: 2.20.51
Version: 2.20.0
Release: 10
#
# RUN_TESTS
@ -39,7 +39,7 @@ Release: 10
%define make_check_handling true
%else
# XXX check again
%define make_check_handling true
%define make_check_handling false
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
@ -56,7 +56,7 @@ Release: 10
#
#
Url: http://www.gnu.org/software/binutils/
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
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
Group: Development/Tools/Building
PreReq: %{install_info_prereq}
AutoReqProv: on
@ -81,7 +81,6 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold-basename.diff
Patch14: binutils-build-as-needed.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -253,8 +252,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
%if !%{test_vanilla}
%patch2
# XXX
#%patch3
%patch3
%patch4
%patch5
%patch6
@ -264,7 +262,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
#%patch13
%patch14
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@ -338,7 +335,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling}
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
%endif
#
#
@ -399,7 +396,7 @@ make -C gas-nesc %{?jobs:-j%jobs}
%check
unset SUSE_ASNEEDED
cd build-dir
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || :
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install

View File

@ -1,7 +1,7 @@
Index: gold/configure
===================================================================
--- gold/configure.orig 2009-10-10 01:20:44.000000000 +0200
+++ gold/configure 2009-10-13 17:13:57.000000000 +0200
--- gold/configure.orig 2009-11-23 14:02:48.000000000 +0100
+++ gold/configure 2009-11-23 14:03:09.000000000 +0100
@@ -762,6 +762,7 @@ with_sysroot
enable_threads
enable_plugins
@ -52,8 +52,8 @@ Index: gold/configure
canon_targets="$canon_targets $result"
Index: gold/configure.ac
===================================================================
--- gold/configure.ac.orig 2009-10-10 01:20:44.000000000 +0200
+++ gold/configure.ac 2009-10-13 17:12:56.000000000 +0200
--- gold/configure.ac.orig 2009-11-23 14:02:48.000000000 +0100
+++ gold/configure.ac 2009-11-23 14:03:09.000000000 +0100
@@ -84,9 +84,26 @@ esac],
enable_targets=all
])
@ -85,8 +85,8 @@ Index: gold/configure.ac
canon_targets="$canon_targets $result"
Index: ld/configure
===================================================================
--- ld/configure.orig 2009-08-22 19:59:33.000000000 +0200
+++ ld/configure 2009-10-13 17:12:56.000000000 +0200
--- ld/configure.orig 2009-11-23 14:02:48.000000000 +0100
+++ ld/configure 2009-11-23 14:03:09.000000000 +0100
@@ -1547,6 +1547,7 @@ Optional Features:
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
@ -106,8 +106,8 @@ Index: ld/configure
all_targets=true
Index: ld/configure.in
===================================================================
--- ld/configure.in.orig 2009-08-22 19:59:33.000000000 +0200
+++ ld/configure.in 2009-10-13 17:12:56.000000000 +0200
--- ld/configure.in.orig 2009-11-23 14:02:48.000000000 +0100
+++ ld/configure.in 2009-11-23 14:03:09.000000000 +0100
@@ -22,6 +22,14 @@ AC_ARG_ENABLE(targets,
no) enable_targets= ;;
*) enable_targets=$enableval ;;

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,8 @@
--- binutils-2.17.50/ld/ld.texinfo
+++ binutils-2.17.50/ld/ld.texinfo
@@ -1941,7 +1941,7 @@
Index: binutils-2.20.0/ld/ld.texinfo
===================================================================
--- binutils-2.20.0.orig/ld/ld.texinfo 2009-11-23 14:02:48.000000000 +0100
+++ 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
@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
@ -9,13 +11,15 @@
those options are only available for ELF systems.
@kindex --hash-size=@var{number}
--- binutils-2.17.50/ld/ldmain.c
+++ binutils-2.17.50/ld/ldmain.c
@@ -263,6 +263,7 @@
Index: binutils-2.20.0/ld/ldmain.c
===================================================================
--- binutils-2.20.0.orig/ld/ldmain.c 2009-11-23 14:02:48.000000000 +0100
+++ 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.keep_memory = TRUE;
+ link_info.new_dtags = TRUE;
link_info.combreloc = TRUE;
link_info.strip_discarded = TRUE;
link_info.callbacks = &link_callbacks;
link_info.emit_hash = TRUE;

View File

@ -1,6 +1,8 @@
--- ld/lexsup.c
+++ ld/lexsup.c
@@ -643,6 +643,9 @@
Index: ld/lexsup.c
===================================================================
--- ld/lexsup.c.orig 2009-11-23 14:02:48.000000000 +0100
+++ ld/lexsup.c 2009-11-23 14:03:09.000000000 +0100
@@ -687,6 +687,9 @@ parse_args (unsigned argc, char **argv)
}
}
@ -10,9 +12,11 @@
last_optind = -1;
while (1)
{
--- ld/testsuite/config/default.exp
+++ ld/testsuite/config/default.exp
@@ -20,7 +20,7 @@
Index: ld/testsuite/config/default.exp
===================================================================
--- ld/testsuite/config/default.exp.orig 2009-11-23 14:02:48.000000000 +0100
+++ ld/testsuite/config/default.exp 2009-11-23 14:03:09.000000000 +0100
@@ -23,7 +23,7 @@
#
if ![info exists ld] then {
@ -21,7 +25,7 @@
}
if ![info exists as] then {
@@ -67,7 +67,7 @@
@@ -68,7 +68,7 @@ if {![file isdirectory tmpdir/ld]} then
catch "exec mkdir tmpdir/ld" status
catch "exec ln -s ../../ld-new tmpdir/ld/ld" status
}
@ -30,7 +34,7 @@
# load the linker path
if {[file exists tmpdir/libpath.exp]} {
@@ -261,7 +261,7 @@
@@ -270,7 +270,7 @@ if ![info exists READELFFLAGS] then {
}
if ![info exists LD] then {
@ -39,9 +43,11 @@
}
if ![info exists LDFLAGS] then {
--- ld/testsuite/ld-bootstrap/bootstrap.exp
+++ ld/testsuite/ld-bootstrap/bootstrap.exp
@@ -53,7 +53,12 @@
Index: ld/testsuite/ld-bootstrap/bootstrap.exp
===================================================================
--- ld/testsuite/ld-bootstrap/bootstrap.exp.orig 2009-11-23 14:02:48.000000000 +0100
+++ 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,
# since we need the object files.

View File

@ -1,6 +1,8 @@
--- ld/emulparams/elf_s390.sh
+++ ld/emulparams/elf_s390.sh
@@ -11,3 +11,18 @@
Index: ld/emulparams/elf_s390.sh
===================================================================
--- ld/emulparams/elf_s390.sh.orig 2009-11-23 14:02:48.000000000 +0100
+++ 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_PIE_SCRIPT=yes
NO_SMALL_DATA=yes

View File

@ -1,6 +1,8 @@
--- bfd/elf32-s390.c
+++ bfd/elf32-s390.c
@@ -2546,13 +2546,34 @@ elf_s390_relocate_section (output_bfd, i
Index: bfd/elf32-s390.c
===================================================================
--- bfd/elf32-s390.c.orig 2009-11-23 14:02:48.000000000 +0100
+++ 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;
break;
@ -38,9 +40,11 @@
if ((input_section->flags & SEC_ALLOC) == 0)
break;
--- bfd/elf64-s390.c
+++ bfd/elf64-s390.c
@@ -2525,15 +2525,36 @@ elf_s390_relocate_section (output_bfd, i
Index: bfd/elf64-s390.c
===================================================================
--- bfd/elf64-s390.c.orig 2009-11-23 14:02:48.000000000 +0100
+++ 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;
break;
@ -81,8 +85,10 @@
if ((input_section->flags & SEC_ALLOC) == 0)
break;
--- ld/testsuite/ld-elfvers/vers.exp
+++ ld/testsuite/ld-elfvers/vers.exp
Index: 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*-*-*] {
case $target_triplet in {
@ -103,9 +109,11 @@
set pic "yes"
} else {
set pic "no"
--- ld/testsuite/ld-elfvsb/elfvsb.exp
+++ ld/testsuite/ld-elfvsb/elfvsb.exp
@@ -268,6 +268,7 @@ proc visibility_run {visibility} {
Index: ld/testsuite/ld-elfvsb/elfvsb.exp
===================================================================
--- ld/testsuite/ld-elfvsb/elfvsb.exp.orig 2009-11-23 14:02:48.000000000 +0100
+++ 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*"
}
}
@ -113,7 +121,7 @@
setup_xfail "x86_64-*-linux*"
if { ![istarget hppa*64*-*-linux*] } {
setup_xfail "hppa*-*-linux*"
@@ -306,6 +307,7 @@ proc visibility_run {visibility} {
@@ -307,6 +308,7 @@ proc visibility_run {visibility} {
setup_xfail "alpha*-*-linux*"
setup_xfail "mips*-*-linux*"
}
@ -121,7 +129,7 @@
setup_xfail "x86_64-*-linux*"
if { ![istarget hppa*64*-*-linux*] } {
setup_xfail "hppa*-*-linux*"
@@ -372,6 +374,7 @@ proc visibility_run {visibility} {
@@ -373,6 +375,7 @@ proc visibility_run {visibility} {
setup_xfail "sparc*-*-linux*"
}
}
@ -129,8 +137,10 @@
setup_xfail "x86_64-*-linux*"
if { ![istarget hppa*64*-*-linux*] } {
setup_xfail "hppa*-*-linux*"
--- ld/testsuite/ld-shared/shared.exp
+++ ld/testsuite/ld-shared/shared.exp
Index: 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" $
setup_xfail "sparc*-*-linux*"
}

View File

@ -1,6 +1,8 @@
--- libiberty/configure
+++ libiberty/configure
@@ -3726,7 +3726,7 @@ if [ "${shared}" = "yes" ]; then
Index: libiberty/configure
===================================================================
--- libiberty/configure.orig 2009-11-23 14:02:49.000000000 +0100
+++ libiberty/configure 2009-11-23 14:03:07.000000000 +0100
@@ -4859,7 +4859,7 @@ if [ "${shared}" = "yes" ]; then
*-fpic* ) PICFLAG=-fpic ;;
* ) PICFLAG=-fPIC ;;
esac ;;
@ -9,9 +11,11 @@
esac
fi
--- libiberty/configure.ac
+++ libiberty/configure.ac
@@ -214,7 +214,7 @@ if [[ "${shared}" = "yes" ]]; then
Index: libiberty/configure.ac
===================================================================
--- libiberty/configure.ac.orig 2009-11-23 14:02:49.000000000 +0100
+++ libiberty/configure.ac 2009-11-23 14:03:07.000000000 +0100
@@ -216,7 +216,7 @@ if [[ "${shared}" = "yes" ]]; then
*-fpic* ) PICFLAG=-fpic ;;
* ) PICFLAG=-fPIC ;;
esac ;;

View File

@ -1,18 +1,22 @@
--- binutils/testsuite/binutils-all/windres/windres.exp
+++ binutils/testsuite/binutils-all/windres/windres.exp
@@ -46,6 +46,7 @@
Index: binutils/testsuite/binutils-all/windres/windres.exp
===================================================================
--- binutils/testsuite/binutils-all/windres/windres.exp.orig 2009-11-23 14:02:48.000000000 +0100
+++ 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 target_xfail "no"
} else {
+ return
send_log "\nWarning: Assuming windres can find the win32 headers\n\n"
}
--- ld/testsuite/ld-srec/srec.exp
+++ ld/testsuite/ld-srec/srec.exp
@@ -17,6 +17,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
Index: ld/testsuite/ld-srec/srec.exp
===================================================================
--- ld/testsuite/ld-srec/srec.exp.orig 2009-11-23 14:02:48.000000000 +0100
+++ ld/testsuite/ld-srec/srec.exp 2009-11-23 14:03:09.000000000 +0100
@@ -20,6 +20,9 @@
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
# MA 02110-1301, USA.
+# Too fragile.
+return
@ -20,13 +24,16 @@
# Get the offset from an S-record line to the start of the data.
proc srec_off { l } {
--- ld/testsuite/ld-undefined/undefined.exp
+++ ld/testsuite/ld-undefined/undefined.exp
@@ -127,6 +127,6 @@
Index: ld/testsuite/ld-undefined/undefined.exp
===================================================================
--- ld/testsuite/ld-undefined/undefined.exp.orig 2009-11-23 14:02:48.000000000 +0100
+++ 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
# of 9. On 64 bit s/390 this works because of the new brasl instruction that
# doesn't need a literal pool entry.
-setup_xfail s390-*-*
+#setup_xfail s390-*-*
checkund $ml $testline
# See comments above for Xtensa.
setup_xfail xtensa*-*-linux*

View File

@ -1,27 +1,15 @@
Index: selective.exp
Index: ld/testsuite/ld-selective/selective.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-selective/selective.exp,v
retrieving revision 1.26
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()} {*-*-*}}
}
! set cflags "-w -O -ffunction-sections -fdata-sections"
! set cxxflags "-fvtable-gc -fno-exceptions -fno-rtti"
set ldflags "--gc-sections -Bstatic"
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] {
--- ld/testsuite/ld-selective/selective.exp.orig 2009-11-23 14:02:48.000000000 +0100
+++ ld/testsuite/ld-selective/selective.exp 2009-11-23 14:03:08.000000000 +0100
@@ -59,8 +59,8 @@ set seltests {
{A::foo() B::foo() dropme1() dropme2()} {*-*-*}}
}
-set cflags "-w -O -ffunction-sections -fdata-sections"
-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"
if [istarget mips*-*] {

View File

@ -1,6 +1,8 @@
--- ld/ldmain.c
+++ ld/ldmain.c
@@ -267,6 +267,7 @@
Index: ld/ldmain.c
===================================================================
--- ld/ldmain.c.orig 2009-11-23 14:03:08.000000000 +0100
+++ 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.strip_discarded = TRUE;
link_info.emit_hash = TRUE;
@ -8,9 +10,11 @@
link_info.callbacks = &link_callbacks;
link_info.input_bfds_tail = &link_info.input_bfds;
/* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
--- ld/testsuite/config/default.exp
+++ ld/testsuite/config/default.exp
@@ -20,7 +20,7 @@
Index: ld/testsuite/config/default.exp
===================================================================
--- ld/testsuite/config/default.exp.orig 2009-11-23 14:03:09.000000000 +0100
+++ ld/testsuite/config/default.exp 2009-11-23 14:03:09.000000000 +0100
@@ -23,7 +23,7 @@
#
if ![info exists ld] then {
@ -19,7 +23,7 @@
}
if ![info exists as] then {
@@ -67,7 +67,7 @@
@@ -68,7 +68,7 @@ if {![file isdirectory tmpdir/ld]} then
catch "exec mkdir tmpdir/ld" status
catch "exec ln -s ../../ld-new tmpdir/ld/ld" status
}
@ -28,7 +32,7 @@
# load the linker path
if {[file exists tmpdir/libpath.exp]} {
@@ -261,7 +261,7 @@
@@ -270,7 +270,7 @@ if ![info exists READELFFLAGS] then {
}
if ![info exists LD] then {

View File

@ -1,7 +1,7 @@
Index: ld/emulparams/elf_i386.sh
===================================================================
--- ld/emulparams/elf_i386.sh.orig 2009-10-13 17:26:45.000000000 +0200
+++ ld/emulparams/elf_i386.sh 2009-10-13 17:26:51.000000000 +0200
--- ld/emulparams/elf_i386.sh.orig 2009-11-23 14:02:48.000000000 +0100
+++ ld/emulparams/elf_i386.sh 2009-11-23 14:03:08.000000000 +0100
@@ -12,4 +12,9 @@ GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
NO_SMALL_DATA=yes