SHA256
1
0
forked from pool/binutils

- Update to binutils 2.23 release candidate.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=104
This commit is contained in:
Richard Biener 2012-09-14 12:12:28 +00:00 committed by Git OBS Bridge
parent 444c57d409
commit befe12c924
39 changed files with 130 additions and 115 deletions

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

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

View File

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

View File

@ -1,8 +1,8 @@
Index: ld/emultempl/elf32.em
===================================================================
--- ld/emultempl/elf32.em.orig 2010-10-29 14:10:36.000000000 +0200
+++ ld/emultempl/elf32.em 2011-01-10 17:42:31.000000000 +0100
@@ -1432,8 +1432,38 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" !=
--- ld/emultempl/elf32.em.orig 2012-07-13 15:20:27.000000000 +0200
+++ ld/emultempl/elf32.em 2012-09-14 13:55:57.829177770 +0200
@@ -1436,8 +1436,38 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" !=
else
ELF_INTERPRETER_SET_DEFAULT=
fi
@ -41,7 +41,7 @@ Index: ld/emultempl/elf32.em
/* used by before_allocation and handle_option. */
static void
gld${EMULATION_NAME}_append_to_separated_string (char **to, char *op_arg)
@@ -1480,7 +1510,7 @@ gld${EMULATION_NAME}_append_to_separated
@@ -1484,7 +1514,7 @@ gld${EMULATION_NAME}_append_to_separated
static void
gld${EMULATION_NAME}_before_allocation (void)
{
@ -50,7 +50,7 @@ Index: ld/emultempl/elf32.em
asection *sinterp;
bfd *abfd;
@@ -1496,7 +1526,65 @@ gld${EMULATION_NAME}_before_allocation (
@@ -1500,7 +1530,65 @@ gld${EMULATION_NAME}_before_allocation (
by dynamic linking. */
rpath = command_line.rpath;
if (rpath == NULL)
@ -117,3 +117,4 @@ Index: ld/emultempl/elf32.em
for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next)
if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -35,7 +35,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -94,8 +94,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -162,8 +160,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22
Version: 2.22.90
Release: 0
#
# RUN_TESTS
@ -97,8 +97,6 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
@ -165,8 +163,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%patch21
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,8 +1,8 @@
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)
--- ld/lexsup.c.orig 2012-07-13 15:20:26.000000000 +0200
+++ ld/lexsup.c 2012-09-14 14:00:57.262167402 +0200
@@ -608,6 +608,9 @@ parse_args (unsigned argc, char **argv)
}
}
@ -14,8 +14,8 @@ Index: ld/lexsup.c
{
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
--- ld/testsuite/config/default.exp.orig 2012-03-15 02:57:57.000000000 +0100
+++ ld/testsuite/config/default.exp 2012-09-14 14:00:57.263167402 +0200
@@ -23,7 +23,7 @@
#
@ -25,16 +25,16 @@ Index: ld/testsuite/config/default.exp
}
if ![info exists as] then {
@@ -68,7 +68,7 @@ if {![file isdirectory tmpdir/ld]} then
catch "exec mkdir tmpdir/ld" status
@@ -69,7 +69,7 @@ if {![file isdirectory tmpdir/ld]} then
catch "exec ln -s ../../ld-new tmpdir/ld/ld" status
catch "exec ln -s ld tmpdir/ld/collect-ld" status
}
-set gcc_ld_flag "-B[pwd]/tmpdir/ld/"
+set gcc_ld_flag "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro"
# load the linker path
if {[file exists tmpdir/libpath.exp]} {
@@ -270,7 +270,7 @@ if ![info exists READELFFLAGS] then {
@@ -279,7 +279,7 @@ if ![info exists READELFFLAGS] then {
}
if ![info exists LD] then {
@ -45,9 +45,9 @@ Index: ld/testsuite/config/default.exp
if ![info exists LDFLAGS] then {
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" "--
--- ld/testsuite/ld-bootstrap/bootstrap.exp.orig 2011-12-03 18:13:01.000000000 +0100
+++ ld/testsuite/ld-bootstrap/bootstrap.exp 2012-09-14 14:00:57.263167402 +0200
@@ -71,7 +71,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

@ -3,9 +3,9 @@ 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
IREL_IN_PLT=
+
+# Treat a host that matches the target with the possible exception of "x"
+# in the name as if it were native.

View File

@ -1,8 +1,8 @@
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)
--- ld/ldmain.c.orig 2012-09-14 14:01:52.209165500 +0200
+++ ld/ldmain.c 2012-09-14 14:01:52.273165498 +0200
@@ -279,6 +279,7 @@ main (int argc, char **argv)
link_info.combreloc = TRUE;
link_info.strip_discarded = TRUE;
link_info.emit_hash = TRUE;
@ -12,8 +12,8 @@ Index: ld/ldmain.c
/* 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.orig 2009-11-23 14:03:09.000000000 +0100
+++ ld/testsuite/config/default.exp 2009-11-23 14:03:09.000000000 +0100
--- ld/testsuite/config/default.exp.orig 2012-09-14 14:01:52.223165499 +0200
+++ ld/testsuite/config/default.exp 2012-09-14 14:01:52.273165498 +0200
@@ -23,7 +23,7 @@
#
@ -23,16 +23,16 @@ Index: ld/testsuite/config/default.exp
}
if ![info exists as] then {
@@ -68,7 +68,7 @@ if {![file isdirectory tmpdir/ld]} then
catch "exec mkdir tmpdir/ld" status
@@ -69,7 +69,7 @@ if {![file isdirectory tmpdir/ld]} then
catch "exec ln -s ../../ld-new tmpdir/ld/ld" status
catch "exec ln -s ld tmpdir/ld/collect-ld" status
}
-set gcc_ld_flag "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro"
+set gcc_ld_flag "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro -Wl,--hash-style=sysv"
# load the linker path
if {[file exists tmpdir/libpath.exp]} {
@@ -270,7 +270,7 @@ if ![info exists READELFFLAGS] then {
@@ -279,7 +279,7 @@ if ![info exists READELFFLAGS] then {
}
if ![info exists LD] then {

View File

@ -1,15 +1,13 @@
Index: ld/emulparams/elf_i386.sh
===================================================================
--- ld/emulparams/elf_i386.sh.orig 2009-07-29 16:59:23.000000000 +0200
+++ ld/emulparams/elf_i386.sh 2011-04-19 14:51:40.000000000 +0200
@@ -12,4 +12,9 @@ GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
--- ld/emulparams/elf_i386.sh.orig 2012-06-11 15:23:50.000000000 +0200
+++ ld/emulparams/elf_i386.sh 2012-09-14 14:00:17.501168779 +0200
@@ -13,3 +13,8 @@ GENERATE_PIE_SCRIPT=yes
NO_SMALL_DATA=yes
SEPARATE_GOTPLT=12
SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 12 ? 12 : 0"
IREL_IN_PLT=
+
+# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
+case "$EMULATION_NAME" in
+ *64*) LIBPATH_SUFFIX=64 ;;
+esac
IREL_IN_PLT=