SHA256
1
0
forked from pool/binutils

Accepting request 229209 from home:AndreasSchwab:f

- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp

OBS-URL: https://build.opensuse.org/request/show/229209
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=164
This commit is contained in:
Richard Biener 2014-04-07 08:14:05 +00:00 committed by Git OBS Bridge
parent 7961dd1a0f
commit b416ee658f
40 changed files with 239 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -98,6 +98,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org
- ld-dtags.diff: update testsuite for --enable-new-dtags default
- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp
-------------------------------------------------------------------
Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com

View File

@ -101,6 +101,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,7 +1,7 @@
Index: binutils-2.23.90/ld/ld.texinfo
Index: binutils-2.24/ld/ld.texinfo
===================================================================
--- binutils-2.23.90.orig/ld/ld.texinfo 2013-08-28 11:17:35.000000000 +0200
+++ binutils-2.23.90/ld/ld.texinfo 2013-09-20 15:31:49.000000000 +0200
--- binutils-2.24.orig/ld/ld.texinfo
+++ binutils-2.24/ld/ld.texinfo
@@ -2117,7 +2117,7 @@ systems may not understand them. If you
@option{--enable-new-dtags}, the new dynamic tags will be created as needed
and older dynamic tags will be omitted.
@ -11,10 +11,10 @@ Index: binutils-2.23.90/ld/ld.texinfo
those options are only available for ELF systems.
@kindex --hash-size=@var{number}
Index: binutils-2.23.90/ld/ldmain.c
Index: binutils-2.24/ld/ldmain.c
===================================================================
--- binutils-2.23.90.orig/ld/ldmain.c 2013-06-22 18:44:15.000000000 +0200
+++ binutils-2.23.90/ld/ldmain.c 2013-09-20 15:31:49.000000000 +0200
--- binutils-2.24.orig/ld/ldmain.c
+++ binutils-2.24/ld/ldmain.c
@@ -276,6 +276,7 @@ main (int argc, char **argv)
link_info.allow_undefined_version = TRUE;
@ -23,3 +23,51 @@ Index: binutils-2.23.90/ld/ldmain.c
link_info.combreloc = TRUE;
link_info.strip_discarded = TRUE;
link_info.emit_hash = TRUE;
Index: binutils-2.24/ld/testsuite/ld-elf/now-3.d
===================================================================
--- binutils-2.24.orig/ld/testsuite/ld-elf/now-3.d
+++ binutils-2.24/ld/testsuite/ld-elf/now-3.d
@@ -1,6 +1,6 @@
#source: start.s
#readelf: -d -W
-#ld: -shared -z now
+#ld: -shared -z now --disable-new-dtags
#target: *-*-linux* *-*-gnu*
#failif
Index: binutils-2.24/ld/testsuite/ld-elf/now-4.d
===================================================================
--- binutils-2.24.orig/ld/testsuite/ld-elf/now-4.d
+++ binutils-2.24/ld/testsuite/ld-elf/now-4.d
@@ -1,6 +1,6 @@
#source: start.s
#readelf: -d -W
-#ld: -shared -z now
+#ld: -shared -z now --disable-new-dtags
#target: *-*-linux* *-*-gnu*
#...
Index: binutils-2.24/ld/testsuite/ld-elf/rpath-1.d
===================================================================
--- binutils-2.24.orig/ld/testsuite/ld-elf/rpath-1.d
+++ binutils-2.24/ld/testsuite/ld-elf/rpath-1.d
@@ -1,6 +1,6 @@
#source: start.s
#readelf: -d -W
-#ld: -shared -rpath .
+#ld: -shared -rpath . --disable-new-dtags
#target: *-*-linux* *-*-gnu*
#failif
Index: binutils-2.24/ld/testsuite/ld-elf/rpath-2.d
===================================================================
--- binutils-2.24.orig/ld/testsuite/ld-elf/rpath-2.d
+++ binutils-2.24/ld/testsuite/ld-elf/rpath-2.d
@@ -1,6 +1,6 @@
#source: start.s
#readelf: -d -W
-#ld: -shared -rpath .
+#ld: -shared -rpath . --disable-new-dtags
#target: *-*-linux* *-*-gnu*
#...

33
ld-testsuite.patch Normal file
View File

@ -0,0 +1,33 @@
Index: binutils-2.24/ld/testsuite/ld-plugin/lto.exp
===================================================================
--- binutils-2.24.orig/ld/testsuite/ld-plugin/lto.exp
+++ binutils-2.24/ld/testsuite/ld-plugin/lto.exp
@@ -29,8 +29,8 @@ global CFLAGS
global CXXFLAGS
set saved_CFLAGS "$CFLAGS"
set saved_CXXFLAGS "$CXXFLAGS"
-regsub -all "\\-Wp,-D_FORTIFY_SOURCE=\[0-9\]+" $CFLAGS "" CFLAGS
-regsub -all "\\-Wp,-D_FORTIFY_SOURCE=\[0-9\]+" $CXXFLAGS "" CXXFLAGS
+regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CFLAGS "" CFLAGS
+regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CXXFLAGS "" CXXFLAGS
proc restore_notify { } {
global saved_CFLAGS
@@ -70,7 +70,7 @@ set lto_link_tests {
{lto-6.c} {} "lto-6.exe" "c"}
{"Build libdummy.a 9"
"" "-O2 -finline -flto"
- {lto-9.cc} {} "libdummy.a"}
+ {lto-9.cc} {} "libdummy.a" "c++"}
{"Build libdummy.a 11a"
"" "-O -flto"
{lto-11a.c} {} "libdummy.a"}
@@ -106,7 +106,7 @@ set lto_link_tests {
{lto-15b.c} {} "liblto-15.a"}
{"PR ld/12696"
"-O2 -flto -fuse-linker-plugin -r -nostdlib" "-O2 -flto"
- {pr12696-1.cc} {} "pr12696-1r.o" "c"}
+ {pr12696-1.cc} {} "pr12696-1r.o" "c++"}
{"Build libdummy.a PR ld/12758"
"" ""
{pr12758a.s} {} "libdummy.a"}