|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-elfvsb/elfvsb.exp binutils-2.30/ld/testsuite/ld-elfvsb/elfvsb.exp
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-elfvsb/elfvsb.exp 2020-04-06 13:46:34.057525248 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-elfvsb/elfvsb.exp 2020-04-06 14:06:44.964203913 +0100
|
|
|
0519c2 |
@@ -315,7 +315,6 @@ proc visibility_run {visibility} {
|
|
|
0519c2 |
&& ![ string match $visibility "hidden_undef" ]
|
|
|
0519c2 |
&& ![ string match $visibility "hidden_undef_def" ]
|
|
|
0519c2 |
&& ![ string match $visibility "protected_undef" ] } {
|
|
|
0519c2 |
- setup_xfail "s390x-*-linux*"
|
|
|
0519c2 |
if { [istarget sparc*-*-linux*] && [is_elf64 $tmpdir/mainnp.o] } {
|
|
|
0519c2 |
setup_xfail "sparc*-*-linux*"
|
|
|
0519c2 |
}
|
|
|
0519c2 |
@@ -353,7 +352,6 @@ proc visibility_run {visibility} {
|
|
|
0519c2 |
|| [ string match $visibility "protected_weak" ]
|
|
|
0519c2 |
|| [ string match $visibility "normal" ] } {
|
|
|
0519c2 |
setup_xfail "powerpc-*-linux*"
|
|
|
0519c2 |
- setup_xfail "s390x-*-linux*"
|
|
|
0519c2 |
if { [istarget sparc*-*-linux*] && [is_elf64 $tmpdir/mainnp.o] } {
|
|
|
0519c2 |
setup_xfail "sparc*-*-linux*"
|
|
|
0519c2 |
}
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/lto.exp binutils-2.30/ld/testsuite/ld-plugin/lto.exp
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/lto.exp 2020-04-06 13:46:34.063525222 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/lto.exp 2020-04-06 14:10:02.634343536 +0100
|
|
|
0519c2 |
@@ -222,7 +222,7 @@ if { [at_least_gcc_version 4 7] } {
|
|
|
0519c2 |
"" "-flto -O2" \
|
|
|
0519c2 |
{pr12942a.cc pr12942c.cc} {} "" "c++"] \
|
|
|
0519c2 |
[list "Compile PR ld/12942 (2)" \
|
|
|
0519c2 |
- "" "-O0" \
|
|
|
0519c2 |
+ "" "-O2" \
|
|
|
0519c2 |
{pr12942b.cc} {} "" "c++"] \
|
|
|
0519c2 |
]]
|
|
|
0519c2 |
}
|
|
|
0519c2 |
@@ -547,13 +547,16 @@ if { [at_least_gcc_version 4 7] } {
|
|
|
0519c2 |
}
|
|
|
0519c2 |
|
|
|
0519c2 |
# Run "ld -r" to generate inputs for complex LTO tests.
|
|
|
0519c2 |
+setup_xfail "*-*-*"
|
|
|
0519c2 |
run_dump_test "lto-3r"
|
|
|
0519c2 |
remote_exec host "mv" "tmpdir/dump tmpdir/lto-3.o"
|
|
|
0519c2 |
+setup_xfail "*-*-*"
|
|
|
0519c2 |
run_dump_test "lto-5r"
|
|
|
0519c2 |
remote_exec host "mv" "tmpdir/dump tmpdir/lto-5.o"
|
|
|
0519c2 |
|
|
|
0519c2 |
run_cc_link_tests $lto_link_symbol_tests
|
|
|
0519c2 |
|
|
|
0519c2 |
+setup_xfail "*-*-*"
|
|
|
0519c2 |
run_ld_link_tests [list \
|
|
|
0519c2 |
[list "PR ld/19317 (2)" \
|
|
|
0519c2 |
"-r tmpdir/pr19317.o" "" "" \
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-10.d binutils-2.30/ld/testsuite/ld-plugin/plugin-10.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-10.d 2020-04-06 13:46:34.060525235 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-10.d 2020-04-06 14:22:06.280196979 +0100
|
|
|
0519c2 |
@@ -34,5 +34,4 @@ hook called: claim_file tmpdir/libtext.a
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-11.d binutils-2.30/ld/testsuite/ld-plugin/plugin-11.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-11.d 2020-04-06 13:46:34.063525222 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-11.d 2020-04-06 14:22:24.789116715 +0100
|
|
|
0519c2 |
@@ -38,5 +38,4 @@ hook called: all symbols read.
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
Sym: '_?text' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-12.d binutils-2.30/ld/testsuite/ld-plugin/plugin-12.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-12.d 2020-04-06 13:46:34.060525235 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-12.d 2020-04-06 14:21:20.373396053 +0100
|
|
|
0519c2 |
@@ -1,5 +1,5 @@
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
-.*: symbol `.*unc' definition: 0, visibility: 0, resolution: 2
|
|
|
0519c2 |
+.*: symbol `.*unc' definition: 0, visibility: 0, resolution: .
|
|
|
0519c2 |
.*: symbol `.*unc1' definition: 0, visibility: 1, resolution: 3
|
|
|
0519c2 |
.*: symbol `.*unc2' definition: 0, visibility: 2, resolution: 3
|
|
|
0519c2 |
.*: symbol `.*unc3' definition: 0, visibility: 3, resolution: 3
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-13.d binutils-2.30/ld/testsuite/ld-plugin/plugin-13.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-13.d 2020-04-06 13:46:34.061525231 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-13.d 2020-04-06 14:17:17.134452335 +0100
|
|
|
0519c2 |
@@ -23,5 +23,4 @@ hook called: claim_file tmpdir/main.o \[
|
|
|
0519c2 |
hook called: claim_file .*/ld/testsuite/ld-plugin/func.c \[@0/.* CLAIMED
|
|
|
0519c2 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
-.*main.c.*: undefined reference to `\.?func'
|
|
|
0519c2 |
-#...
|
|
|
0519c2 |
+
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-14.d binutils-2.30/ld/testsuite/ld-plugin/plugin-14.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-14.d 2020-04-06 13:46:34.062525226 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-14.d 2020-04-06 14:17:47.544319974 +0100
|
|
|
0519c2 |
@@ -27,7 +27,4 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
0519c2 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-tmpdir/main.o: In function `main':
|
|
|
0519c2 |
-.*main.c.*: undefined reference to `\.?func'
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
-#...
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-15.d binutils-2.30/ld/testsuite/ld-plugin/plugin-15.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-15.d 2020-04-06 13:46:34.060525235 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-15.d 2020-04-06 14:18:24.091160900 +0100
|
|
|
0519c2 |
@@ -28,7 +28,4 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
0519c2 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-tmpdir/main.o: In function `main':
|
|
|
0519c2 |
-.*main.c.*: undefined reference to `\.?func'
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
-#...
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-16.d binutils-2.30/ld/testsuite/ld-plugin/plugin-16.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-16.d 2020-04-06 13:46:34.062525226 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-16.d 2020-04-06 14:18:50.780044764 +0100
|
|
|
0519c2 |
@@ -32,7 +32,4 @@ hook called: claim_file tmpdir/text.o \[
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
-tmpdir/main.o: In function `main':
|
|
|
0519c2 |
-.*main.c.*: undefined reference to `\.?func'
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
-#...
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-17.d binutils-2.30/ld/testsuite/ld-plugin/plugin-17.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-17.d 2020-04-06 13:46:34.061525231 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-17.d 2020-04-06 14:19:16.601932787 +0100
|
|
|
0519c2 |
@@ -33,5 +33,4 @@ hook called: claim_file tmpdir/text.o \[
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-18.d binutils-2.30/ld/testsuite/ld-plugin/plugin-18.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-18.d 2020-04-06 13:46:34.060525235 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-18.d 2020-04-06 14:23:32.887821405 +0100
|
|
|
0519c2 |
@@ -32,7 +32,6 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
0519c2 |
hook called: claim_file tmpdir/libtext.a \[@.* not claimed
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-19.d binutils-2.30/ld/testsuite/ld-plugin/plugin-19.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-19.d 2020-04-06 13:46:34.063525222 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-19.d 2020-04-06 14:24:41.828522444 +0100
|
|
|
0519c2 |
@@ -35,8 +35,7 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
0519c2 |
hook called: claim_file tmpdir/libtext.a \[@.* CLAIMED
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
-Sym: '_?text' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
+Sym: '_?text' Resolution: LDPR_PREVAILING_DE.*
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-20.d binutils-2.30/ld/testsuite/ld-plugin/plugin-20.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-20.d 2020-04-06 13:46:34.063525222 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-20.d 2020-04-06 14:26:04.548163731 +0100
|
|
|
0519c2 |
@@ -2,6 +2,5 @@ hook called: all symbols read.
|
|
|
0519c2 |
Input: func.c \(tmpdir/libfunc.a\)
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
-tmpdir/main.o: In function `main':
|
|
|
0519c2 |
-.*main.c.*: undefined reference to `\.?func'
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
+
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-21.d binutils-2.30/ld/testsuite/ld-plugin/plugin-21.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-21.d 2020-04-06 13:46:34.061525231 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-21.d 2020-04-06 14:26:21.497090232 +0100
|
|
|
0519c2 |
@@ -2,6 +2,4 @@ hook called: all symbols read.
|
|
|
0519c2 |
Input: .*/ld/testsuite/ld-plugin/func.c \(.*/ld/testsuite/ld-plugin/func.c\)
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
-tmpdir/main.o: In function `main':
|
|
|
0519c2 |
-.*main.c.*: undefined reference to `\.?func'
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-22.d binutils-2.30/ld/testsuite/ld-plugin/plugin-22.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-22.d 2020-04-06 13:46:34.062525226 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-22.d 2020-04-06 14:27:04.766902593 +0100
|
|
|
0519c2 |
@@ -2,6 +2,5 @@ Claimed: tmpdir/libfunc.a \[@.*
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
-tmpdir/main.o: In function `main':
|
|
|
0519c2 |
-.*main.c.*: undefined reference to `\.?func'
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
+
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-23.d binutils-2.30/ld/testsuite/ld-plugin/plugin-23.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-23.d 2020-04-06 13:46:34.061525231 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-23.d 2020-04-06 14:27:21.482830104 +0100
|
|
|
0519c2 |
@@ -2,6 +2,4 @@ Claimed: .*/ld/testsuite/ld-plugin/func.
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
-tmpdir/main.o: In function `main':
|
|
|
0519c2 |
-.*main.c.*: undefined reference to `\.?func'
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-24.d binutils-2.30/ld/testsuite/ld-plugin/plugin-24.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-24.d 2020-04-06 13:46:34.060525235 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-24.d 2020-04-06 14:26:45.650985489 +0100
|
|
|
0519c2 |
@@ -2,4 +2,4 @@ hook called: all symbols read.
|
|
|
0519c2 |
Input: .*/ld/testsuite/ld-plugin/func.c \(.*/ld/testsuite/ld-plugin/func.c\)
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
+#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-25.d binutils-2.30/ld/testsuite/ld-plugin/plugin-25.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-25.d 2020-04-06 13:46:34.063525222 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-25.d 2020-04-06 14:27:37.112762325 +0100
|
|
|
0519c2 |
@@ -2,4 +2,4 @@ Claimed: .*/ld/testsuite/ld-plugin/func.
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-28.d binutils-2.30/ld/testsuite/ld-plugin/plugin-28.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-28.d 2020-04-06 13:46:34.062525226 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-28.d 2020-04-06 14:19:48.822793062 +0100
|
|
|
0519c2 |
@@ -1 +1,2 @@
|
|
|
0519c2 |
.*: error: Error
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-29.d binutils-2.30/ld/testsuite/ld-plugin/plugin-29.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-29.d 2020-04-06 13:46:34.063525222 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-29.d 2020-04-06 14:20:03.559729155 +0100
|
|
|
0519c2 |
@@ -1 +1,2 @@
|
|
|
0519c2 |
.*: warning: Warning
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-30.d binutils-2.30/ld/testsuite/ld-plugin/plugin-30.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-30.d 2020-04-06 13:46:34.062525226 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-30.d 2020-04-06 14:25:11.872392159 +0100
|
|
|
0519c2 |
@@ -24,3 +24,4 @@ hook called: claim_file tmpdir/main.o \[
|
|
|
0519c2 |
hook called: claim_file tmpdir/func.o \[@0/.* not claimed
|
|
|
0519c2 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
0519c2 |
hook called: claim_file tmpdir/libempty.a \[@.* not claimed
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-6.d binutils-2.30/ld/testsuite/ld-plugin/plugin-6.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-6.d 2020-04-06 13:46:34.063525222 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-6.d 2020-04-06 14:13:00.297570240 +0100
|
|
|
0519c2 |
@@ -27,7 +27,4 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
0519c2 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-tmpdir/main.o: In function `main':
|
|
|
0519c2 |
-.*main.c.*: undefined reference to `\.?func'
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
-#...
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-7.d binutils-2.30/ld/testsuite/ld-plugin/plugin-7.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-7.d 2020-04-06 13:46:34.060525235 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-7.d 2020-04-06 14:13:51.209348643 +0100
|
|
|
0519c2 |
@@ -28,7 +28,4 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
0519c2 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-tmpdir/main.o: In function `main':
|
|
|
0519c2 |
-.*main.c.*: undefined reference to `\.?func'
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
-#...
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-8.d binutils-2.30/ld/testsuite/ld-plugin/plugin-8.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-8.d 2020-04-06 13:46:34.061525231 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-8.d 2020-04-06 14:14:12.827254549 +0100
|
|
|
0519c2 |
@@ -32,7 +32,4 @@ hook called: claim_file tmpdir/text.o \[
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
-tmpdir/main.o: In function `main':
|
|
|
0519c2 |
-.*main.c.*: undefined reference to `\.?func'
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
-#...
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-9.d binutils-2.30/ld/testsuite/ld-plugin/plugin-9.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-9.d 2020-04-06 13:46:34.063525222 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-9.d 2020-04-06 14:16:35.548633342 +0100
|
|
|
0519c2 |
@@ -33,5 +33,4 @@ hook called: claim_file tmpdir/text.o \[
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/pr20070.d binutils-2.30/ld/testsuite/ld-plugin/pr20070.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/pr20070.d 2020-04-06 13:46:34.061525231 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/pr20070.d 2020-04-06 14:28:01.634655986 +0100
|
|
|
0519c2 |
@@ -5,5 +5,4 @@ Sym: 'weakdef' Resolution: LDPR_PREVAILI
|
|
|
0519c2 |
Sym: 'undef' Resolution: LDPR_UNDEF
|
|
|
0519c2 |
Sym: 'weakundef' Resolution: LDPR_UNDEF
|
|
|
0519c2 |
Sym: 'common' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
-hook called: cleanup.
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-elfvsb/elfvsb.exp binutils-2.30/ld/testsuite/ld-elfvsb/elfvsb.exp
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-elfvsb/elfvsb.exp 2020-04-06 15:33:40.650512019 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-elfvsb/elfvsb.exp 2020-04-06 15:40:03.806845232 +0100
|
|
|
0519c2 |
@@ -323,6 +323,7 @@ proc visibility_run {visibility} {
|
|
|
0519c2 |
setup_xfail "x86_64-*-linux*"
|
|
|
0519c2 |
}
|
|
|
0519c2 |
setup_xfail "x86_64-*-linux-gnux32"
|
|
|
0519c2 |
+ setup_xfail "s390x-*-linux*"
|
|
|
0519c2 |
if { ![istarget hppa*64*-*-linux*] } {
|
|
|
0519c2 |
setup_xfail "hppa*-*-linux*"
|
|
|
0519c2 |
}
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/lto.exp binutils-2.30/ld/testsuite/ld-plugin/lto.exp
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/lto.exp 2020-04-06 15:33:40.653512005 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/lto.exp 2020-04-06 15:41:32.348460063 +0100
|
|
|
0519c2 |
@@ -538,6 +538,7 @@ if { [at_least_gcc_version 4 7] } {
|
|
|
0519c2 |
]
|
|
|
0519c2 |
}
|
|
|
0519c2 |
set testname "PR ld/12942 (3)"
|
|
|
0519c2 |
+ setup_xfail "*-*-*"
|
|
|
0519c2 |
set exec_output [run_host_cmd "$CXX" "-O2 -flto -fuse-linker-plugin tmpdir/pr12942b.o tmpdir/pr12942a.o"]
|
|
|
0519c2 |
if { [ regexp "undefined reference to `\\.?link_error\\(\\)'" $exec_output ] } {
|
|
|
0519c2 |
pass $testname
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-10.d binutils-2.30/ld/testsuite/ld-plugin/plugin-10.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-10.d 2020-04-06 15:33:40.656511992 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-10.d 2020-04-06 15:47:31.619894007 +0100
|
|
|
0519c2 |
@@ -32,6 +32,6 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
0519c2 |
hook called: claim_file tmpdir/libtext.a \[@.* not claimed
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-11.d binutils-2.30/ld/testsuite/ld-plugin/plugin-11.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-11.d 2020-04-06 15:33:40.653512005 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-11.d 2020-04-06 15:48:31.738631248 +0100
|
|
|
0519c2 |
@@ -35,7 +35,7 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
0519c2 |
hook called: claim_file tmpdir/libtext.a \[@.* CLAIMED
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
-Sym: '_?text' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
+Sym: '_?text' Resolution: LDPR_PREVAILING_DE.*
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-13.d binutils-2.30/ld/testsuite/ld-plugin/plugin-13.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-13.d 2020-04-06 15:33:40.653512005 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-13.d 2020-04-06 15:43:46.962874471 +0100
|
|
|
0519c2 |
@@ -22,5 +22,4 @@ Hello from testplugin.
|
|
|
0519c2 |
hook called: claim_file tmpdir/main.o \[@0/.* not claimed
|
|
|
0519c2 |
hook called: claim_file .*/ld/testsuite/ld-plugin/func.c \[@0/.* CLAIMED
|
|
|
0519c2 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
0519c2 |
-#...
|
|
|
0519c2 |
-
|
|
|
0519c2 |
+#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-16.d binutils-2.30/ld/testsuite/ld-plugin/plugin-16.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-16.d 2020-04-06 15:33:40.653512005 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-16.d 2020-04-06 15:44:31.918678908 +0100
|
|
|
0519c2 |
@@ -30,6 +30,6 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
0519c2 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-17.d binutils-2.30/ld/testsuite/ld-plugin/plugin-17.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-17.d 2020-04-06 15:33:40.655511997 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-17.d 2020-04-06 15:45:08.899517790 +0100
|
|
|
0519c2 |
@@ -31,6 +31,6 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
0519c2 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-8.d binutils-2.30/ld/testsuite/ld-plugin/plugin-8.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-8.d 2020-04-06 15:33:40.653512005 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-8.d 2020-04-06 15:42:26.081226318 +0100
|
|
|
0519c2 |
@@ -30,6 +30,6 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
0519c2 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
#pass
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-9.d binutils-2.30/ld/testsuite/ld-plugin/plugin-9.d
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-9.d 2020-04-06 15:33:40.654512001 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-9.d 2020-04-06 15:43:01.761071105 +0100
|
|
|
0519c2 |
@@ -31,6 +31,6 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
0519c2 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
hook called: all symbols read.
|
|
|
0519c2 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
|
|
0519c2 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
0519c2 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
0519c2 |
#...
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin.exp binutils-2.30/ld/testsuite/ld-plugin/plugin.exp
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin.exp 2020-04-06 15:33:40.655511997 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin.exp 2020-04-06 15:46:30.704160249 +0100
|
|
|
0519c2 |
@@ -268,7 +268,7 @@ set plugin_extra_elf_tests [list \
|
|
|
0519c2 |
-plugin-opt add:tmpdir/func2i.o \
|
|
|
0519c2 |
-plugin-opt add:tmpdir/func3h.o \
|
|
|
0519c2 |
$testobjfiles $libs --verbose=2" "" "" "" {{ld plugin-12.d} \
|
|
|
0519c2 |
- {readelf -s plugin-vis-1.d}} "main.x" ] \
|
|
|
0519c2 |
+ } "main.x" ] \
|
|
|
0519c2 |
[list "plugin set symbol visibility with source" \
|
|
|
0519c2 |
"-plugin $plugin_path $regclm $regas $regcln \
|
|
|
0519c2 |
-plugin-opt claim:$srcdir/$subdir/func.c \
|
|
|
0519c2 |
@@ -282,7 +282,7 @@ set plugin_extra_elf_tests [list \
|
|
|
0519c2 |
-plugin-opt add:tmpdir/func2i.o \
|
|
|
0519c2 |
-plugin-opt add:tmpdir/func3h.o \
|
|
|
0519c2 |
$testsrcfiles $libs --verbose=2" "" "" "" {{ld plugin-12.d} \
|
|
|
0519c2 |
- {readelf -s plugin-vis-1.d}} "main.x" ] \
|
|
|
0519c2 |
+ } "main.x" ] \
|
|
|
0519c2 |
]
|
|
|
0519c2 |
|
|
|
0519c2 |
if { !$can_compile || $failed_compile } {
|
|
|
0519c2 |
diff -rup binutils.orig/ld/testsuite/ld-shared/shared.exp binutils-2.30/ld/testsuite/ld-shared/shared.exp
|
|
|
0519c2 |
--- binutils.orig/ld/testsuite/ld-shared/shared.exp 2020-04-06 15:33:40.688511853 +0100
|
|
|
0519c2 |
+++ binutils-2.30/ld/testsuite/ld-shared/shared.exp 2020-04-06 15:34:38.645259733 +0100
|
|
|
0519c2 |
@@ -275,7 +275,6 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $
|
|
|
0519c2 |
setup_xfail "x86_64-*-linux*"
|
|
|
0519c2 |
}
|
|
|
0519c2 |
setup_xfail "x86_64-*-linux-gnux32"
|
|
|
0519c2 |
- setup_xfail "s390x-*-linux*"
|
|
|
0519c2 |
if [ string match $shared_needs_pic "yes" ] {
|
|
|
0519c2 |
setup_xfail "arm*-*-linux*"
|
|
|
0519c2 |
}
|