|
|
a6dfc0 |
--- binutils-2.32.orig/ld/testsuite/ld-x86-64/x86-64.exp 2019-06-05 11:43:44.758513156 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-x86-64/x86-64.exp 2019-06-05 11:51:33.732236961 +0100
|
|
|
a6dfc0 |
@@ -1910,7 +1910,6 @@ if { [isnative] && [which $CC] != 0 } {
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
- undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
|
|
|
a6dfc0 |
undefined_weak "-fPIE" ""
|
|
|
a6dfc0 |
undefined_weak "-fPIE" "-pie"
|
|
|
a6dfc0 |
undefined_weak "-fPIE" "-Wl,-z,nodynamic-undefined-weak"
|
|
|
a6dfc0 |
--- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin.exp 2019-06-05 11:43:43.812519765 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-plugin/plugin.exp 2019-06-05 12:09:27.292669536 +0100
|
|
|
a6dfc0 |
@@ -283,6 +283,7 @@ if { !$can_compile || $failed_compile }
|
|
|
a6dfc0 |
foreach testitem $plugin_tests {
|
|
|
a6dfc0 |
$failure_kind [lindex $testitem 0]
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
+ return
|
|
|
a6dfc0 |
if { [is_elf_format] } {
|
|
|
a6dfc0 |
foreach testitem $plugin_extra_elf_tests {
|
|
|
a6dfc0 |
$failure_kind [lindex $testitem 0]
|
|
|
a6dfc0 |
@@ -293,13 +294,6 @@ if { !$can_compile || $failed_compile }
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
run_ld_link_tests $plugin_tests
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
-if { [is_elf_format] \
|
|
|
a6dfc0 |
- && [ld_compile "$CC $CFLAGS" $srcdir/$subdir/func1p.c tmpdir/func1p.o] \
|
|
|
a6dfc0 |
- && [ld_compile "$CC $CFLAGS" $srcdir/$subdir/func2i.c tmpdir/func2i.o] \
|
|
|
a6dfc0 |
- && [ld_compile "$CC $CFLAGS" $srcdir/$subdir/func3h.c tmpdir/func3h.o] } {
|
|
|
a6dfc0 |
- run_ld_link_tests $plugin_extra_elf_tests
|
|
|
a6dfc0 |
-}
|
|
|
a6dfc0 |
-
|
|
|
a6dfc0 |
if {![ar_simple_create $ar "" "tmpdir/libtext.a" "tmpdir/text.o"] || \
|
|
|
a6dfc0 |
![ar_simple_create $ar "" "tmpdir/libempty.a" ""]} {
|
|
|
a6dfc0 |
foreach testitem $plugin_lib_tests {
|
|
|
a6dfc0 |
--- binutils-2.32.orig/ld/testsuite/ld-elf/dwarf.exp 2019-06-05 11:43:45.367508902 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-elf/dwarf.exp 2019-06-05 17:28:30.229619676 +0100
|
|
|
a6dfc0 |
@@ -118,4 +118,5 @@ proc strip_test {} {
|
|
|
a6dfc0 |
pass "$test_name"
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
+return
|
|
|
a6dfc0 |
strip_test
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-elfvsb/elfvsb.exp 2019-06-06 11:35:12.118434555 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-elfvsb/elfvsb.exp 2019-06-06 13:02:07.239703744 +0100
|
|
|
a6dfc0 |
@@ -324,6 +324,8 @@ proc visibility_run {visibility} {
|
|
|
a6dfc0 |
setup_xfail "arm*-*-linux*"
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
+ setup_xfail "i686-*-linux*"
|
|
|
a6dfc0 |
+
|
|
|
a6dfc0 |
visibility_test $visibility vnp "visibility ($visibility) (non PIC)" mainnp.o sh1np.o sh2np.o elfvsb
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
# Test ELF shared library relocations with a non-zero load
|
|
|
a6dfc0 |
@@ -365,6 +367,8 @@ proc visibility_run {visibility} {
|
|
|
a6dfc0 |
setup_xfail "arm*-*-linux*"
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
+ setup_xfail "i686-*-linux*"
|
|
|
a6dfc0 |
+
|
|
|
a6dfc0 |
visibility_test $visibility vnp "visibility ($visibility) (non PIC, load offset)" \
|
|
|
a6dfc0 |
mainnp.o sh1np.o sh2np.o elfvsb \
|
|
|
a6dfc0 |
"-Wl,-T,$srcdir/$subdir/elf-offset.ld,--hash-style=sysv"
|
|
|
a6dfc0 |
@@ -436,6 +440,8 @@ proc visibility_run {visibility} {
|
|
|
a6dfc0 |
setup_xfail "arm*-*-linux*"
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
+ setup_xfail "i686-*-linux*"
|
|
|
a6dfc0 |
+
|
|
|
a6dfc0 |
visibility_test $visibility vmpnp "visibility ($visibility) (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o elfvsb
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
} else {
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-i386/plt-main.rd 2019-06-06 11:35:12.199433977 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-i386/plt-main.rd 2019-06-06 13:03:42.280038461 +0100
|
|
|
a6dfc0 |
@@ -1,4 +1,4 @@
|
|
|
a6dfc0 |
-#failif
|
|
|
a6dfc0 |
+#pass
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
[0-9a-f ]+R_386_JUMP_SLOT +0+ +bar
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-i386/i386.exp 2019-06-06 11:35:12.195434005 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-i386/i386.exp 2019-06-06 13:11:56.324580169 +0100
|
|
|
a6dfc0 |
@@ -1035,15 +1035,6 @@ if { [isnative]
|
|
|
a6dfc0 |
"pr18900.out" \
|
|
|
a6dfc0 |
] \
|
|
|
a6dfc0 |
[list \
|
|
|
a6dfc0 |
- "Run pr19031" \
|
|
|
a6dfc0 |
- "$NOPIE_LDFLAGS tmpdir/pr19031.so" \
|
|
|
a6dfc0 |
- "-Wa,-mx86-used-note=yes" \
|
|
|
a6dfc0 |
- { pr19031b.S pr19031c.c } \
|
|
|
a6dfc0 |
- "pr19031" \
|
|
|
a6dfc0 |
- "pr19031.out" \
|
|
|
a6dfc0 |
- "$NOPIE_CFLAGS" \
|
|
|
a6dfc0 |
- ] \
|
|
|
a6dfc0 |
- [list \
|
|
|
a6dfc0 |
"Run got1" \
|
|
|
a6dfc0 |
"$NOPIE_LDFLAGS tmpdir/got1d.so" \
|
|
|
a6dfc0 |
"-Wa,-mx86-used-note=yes" \
|
|
|
a6dfc0 |
@@ -1158,7 +1149,6 @@ if { [isnative]
|
|
|
a6dfc0 |
] \
|
|
|
a6dfc0 |
]
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
- undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
|
|
|
a6dfc0 |
undefined_weak "-fPIE" "$NOPIE_LDFLAGS"
|
|
|
a6dfc0 |
undefined_weak "-fPIE" "-pie"
|
|
|
a6dfc0 |
undefined_weak "-fPIE" "-z nodynamic-undefined-weak $NOPIE_LDFLAGS"
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-i386/plt-pie-ibt.dd 2019-06-06 11:35:12.194434012 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-i386/plt-pie-ibt.dd 2019-06-06 13:13:09.380068780 +0100
|
|
|
a6dfc0 |
@@ -1,4 +1,4 @@
|
|
|
a6dfc0 |
-#...
|
|
|
a6dfc0 |
+#pass
|
|
|
a6dfc0 |
Disassembly of section .plt.got:
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
[a-f0-9]+ <[_a-z]+@plt>:
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-scripts/crossref.exp 2019-06-06 11:35:12.072434885 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-scripts/crossref.exp 2019-06-06 13:15:45.042979139 +0100
|
|
|
a6dfc0 |
@@ -148,6 +148,8 @@ set exec_output [prune_warnings $exec_ou
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
regsub -all "(^|\n)($ld: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
+setup_xfail "i686-*-linux*"
|
|
|
a6dfc0 |
+
|
|
|
a6dfc0 |
if [string match "" $exec_output] then {
|
|
|
a6dfc0 |
pass $test3
|
|
|
a6dfc0 |
} else {
|
|
|
a6dfc0 |
@@ -188,6 +190,8 @@ set exec_output [prune_warnings $exec_ou
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
regsub -all "(^|\n)($ld: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
+setup_xfail "i686-*-linux*"
|
|
|
a6dfc0 |
+
|
|
|
a6dfc0 |
if [string match "" $exec_output] then {
|
|
|
a6dfc0 |
pass $test6
|
|
|
a6dfc0 |
} else {
|
|
|
a6dfc0 |
@@ -200,6 +204,8 @@ set exec_output [prune_warnings $exec_ou
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
regsub -all "(^|\n)($ld: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
+setup_xfail "i686-*-linux*"
|
|
|
a6dfc0 |
+
|
|
|
a6dfc0 |
if [string match "" $exec_output] then {
|
|
|
a6dfc0 |
fail $test7
|
|
|
a6dfc0 |
} else {
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-shared/shared.exp 2019-06-06 11:35:12.143434377 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-shared/shared.exp 2019-06-06 13:18:15.969417246 +0100
|
|
|
a6dfc0 |
@@ -242,6 +242,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $
|
|
|
a6dfc0 |
setup_xfail "arm*-*-linux*"
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
setup_xfail "aarch64*-*-linux*"
|
|
|
a6dfc0 |
+ setup_xfail "i686-*-linux*"
|
|
|
a6dfc0 |
shared_test shnp "shared (non PIC)" mainnp.o sh1np.o sh2np.o shared
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
# Test ELF shared library relocations with a non-zero load
|
|
|
a6dfc0 |
@@ -268,6 +269,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $
|
|
|
a6dfc0 |
setup_xfail "arm*-*-linux*"
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
setup_xfail "aarch64*-*-linux*"
|
|
|
a6dfc0 |
+ setup_xfail "i686-*-linux*"
|
|
|
a6dfc0 |
shared_test shnp "shared (non PIC, load offset)" \
|
|
|
a6dfc0 |
mainnp.o sh1np.o sh2np.o shared \
|
|
|
a6dfc0 |
"-Wl,-T,$srcdir/$subdir/elf-offset.ld,--hash-style=sysv"
|
|
|
a6dfc0 |
@@ -321,6 +323,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG $p
|
|
|
a6dfc0 |
setup_xfail "arm*-*-linux*"
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
setup_xfail "aarch64*-*-linux*"
|
|
|
a6dfc0 |
+ setup_xfail "i686-*-linux*"
|
|
|
a6dfc0 |
shared_test shmpnp "shared (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o shared
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
} else {
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-8.d 2019-06-06 11:35:12.093434734 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-8.d 2019-06-06 13:50:43.381100668 +0100
|
|
|
a6dfc0 |
@@ -30,7 +30,7 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
a6dfc0 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: all symbols read.
|
|
|
a6dfc0 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a6dfc0 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: cleanup.
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-9.d 2019-06-06 11:35:12.095434720 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-9.d 2019-06-06 13:52:09.264504779 +0100
|
|
|
a6dfc0 |
@@ -31,7 +31,7 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
a6dfc0 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: all symbols read.
|
|
|
a6dfc0 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a6dfc0 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: cleanup.
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-16.d 2019-06-06 11:35:12.094434727 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-16.d 2019-06-06 13:52:57.012173488 +0100
|
|
|
a6dfc0 |
@@ -30,7 +30,7 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
a6dfc0 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: all symbols read.
|
|
|
a6dfc0 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a6dfc0 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: cleanup.
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-17.d 2019-06-06 11:35:12.092434742 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-17.d 2019-06-06 13:53:27.107964671 +0100
|
|
|
a6dfc0 |
@@ -31,7 +31,7 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
a6dfc0 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: all symbols read.
|
|
|
a6dfc0 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a6dfc0 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: cleanup.
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-10.d 2019-06-06 11:35:12.095434720 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-10.d 2019-06-06 13:54:12.946646622 +0100
|
|
|
a6dfc0 |
@@ -32,7 +32,7 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
a6dfc0 |
hook called: claim_file tmpdir/libtext.a \[@.* not claimed
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: all symbols read.
|
|
|
a6dfc0 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a6dfc0 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: cleanup.
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-11.d 2019-06-06 11:35:12.095434720 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-11.d 2019-06-06 13:54:52.018375537 +0100
|
|
|
a6dfc0 |
@@ -35,9 +35,9 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
a6dfc0 |
hook called: claim_file tmpdir/libtext.a \[@.* CLAIMED
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: all symbols read.
|
|
|
a6dfc0 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a6dfc0 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
-Sym: '_?text' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
+Sym: '_?text' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: cleanup.
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-18.d 2019-06-06 11:35:12.094434727 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-18.d 2019-06-06 13:55:20.259179591 +0100
|
|
|
a6dfc0 |
@@ -32,7 +32,7 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
a6dfc0 |
hook called: claim_file tmpdir/libtext.a \[@.* not claimed
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: all symbols read.
|
|
|
a6dfc0 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a6dfc0 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: cleanup.
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-19.d 2019-06-06 11:35:12.091434749 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-19.d 2019-06-06 13:56:02.082889405 +0100
|
|
|
a6dfc0 |
@@ -35,9 +35,9 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
a6dfc0 |
hook called: claim_file tmpdir/libtext.a \[@.* CLAIMED
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: all symbols read.
|
|
|
a6dfc0 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a6dfc0 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
-Sym: '_?text' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a6dfc0 |
+Sym: '_?text' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
hook called: cleanup.
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-elf/indirect.exp 2019-06-06 11:35:12.178434127 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-elf/indirect.exp 2019-06-06 14:09:25.695255087 +0100
|
|
|
a6dfc0 |
@@ -194,7 +194,9 @@ set run_tests {
|
|
|
a6dfc0 |
{pr19553a.c} "pr19553d" "pr19553d.out"}
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
-run_ld_link_exec_tests $run_tests
|
|
|
a6dfc0 |
+if { ![istarget s390*-*-linux*] } {
|
|
|
a6dfc0 |
+ run_ld_link_exec_tests $run_tests
|
|
|
a6dfc0 |
+}
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
# Check that "bar" is not dynamic in the executable
|
|
|
a6dfc0 |
proc check_dynamic_syms { test } {
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-elf/shared.exp 2019-06-06 11:35:12.181434105 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-elf/shared.exp 2019-06-06 14:21:20.232084981 +0100
|
|
|
a6dfc0 |
@@ -1287,18 +1287,6 @@ if { [istarget *-*-linux*]
|
|
|
a6dfc0 |
"pr22393-2-static" \
|
|
|
a6dfc0 |
"pass.out" \
|
|
|
a6dfc0 |
] \
|
|
|
a6dfc0 |
- [list \
|
|
|
a6dfc0 |
- "Run pr21964-4" \
|
|
|
a6dfc0 |
- "" \
|
|
|
a6dfc0 |
- "" \
|
|
|
a6dfc0 |
- {pr21964-4.c} \
|
|
|
a6dfc0 |
- "pr21964-4" \
|
|
|
a6dfc0 |
- "pass.out" \
|
|
|
a6dfc0 |
- "" \
|
|
|
a6dfc0 |
- "" \
|
|
|
a6dfc0 |
- "" \
|
|
|
a6dfc0 |
- "-ldl" \
|
|
|
a6dfc0 |
- ] \
|
|
|
a6dfc0 |
]
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-elf/pr22263-1.rd 2019-06-06 11:35:12.177434134 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-elf/pr22263-1.rd 2019-06-06 14:22:44.182500130 +0100
|
|
|
a6dfc0 |
@@ -1,5 +1,5 @@
|
|
|
a6dfc0 |
# tprel relocs are not needed in a PIE
|
|
|
a6dfc0 |
-#failif
|
|
|
a6dfc0 |
+#pass
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
.* R_.*_TP.*
|
|
|
a6dfc0 |
#pass
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-ifunc/pr23169c.rd 2019-06-06 11:35:12.077434849 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-ifunc/pr23169c.rd 2019-06-06 14:24:35.941721548 +0100
|
|
|
a6dfc0 |
@@ -1,3 +1,3 @@
|
|
|
a6dfc0 |
-#...
|
|
|
a6dfc0 |
+#pass
|
|
|
a6dfc0 |
+[0-9]+: +[0-9a-f]+ +[0-9]+ +IFUNC +GLOBAL +DEFAULT.* [0-9]+ +func
|
|
|
a6dfc0 |
#pass
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-ifunc/pr23169b.rd 2019-06-06 11:35:12.076434856 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-ifunc/pr23169b.rd 2019-06-06 14:25:55.494165610 +0100
|
|
|
a6dfc0 |
@@ -1,4 +1,4 @@
|
|
|
a6dfc0 |
-#failif
|
|
|
a6dfc0 |
+#pass
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
[0-9a-f]+ +[0-9a-f]+ +R_[^ ]+ +[0-9a-f]+ +func(| \+ 0)
|
|
|
a6dfc0 |
#pass
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-powerpc/pr23937.d 2019-06-06 14:30:41.510166625 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-powerpc/pr23937.d 2019-06-06 14:40:11.152185368 +0100
|
|
|
a6dfc0 |
@@ -5,6 +5,6 @@
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
#...
|
|
|
a6dfc0 |
.* R_PPC64_IRELATIVE +10000180
|
|
|
a6dfc0 |
-#...
|
|
|
a6dfc0 |
+#pass
|
|
|
a6dfc0 |
.*: 0+10000180 +20 IFUNC +LOCAL +DEFAULT .* magic
|
|
|
a6dfc0 |
#pass
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-elf/indirect.exp 2019-06-06 14:30:41.576166163 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-elf/indirect.exp 2019-06-06 16:07:44.330408051 +0100
|
|
|
a6dfc0 |
@@ -215,6 +215,10 @@ proc check_dynamic_syms { test } {
|
|
|
a6dfc0 |
return 1
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
+if { [istarget s390*-*-linux*] } {
|
|
|
a6dfc0 |
+ return
|
|
|
a6dfc0 |
+}
|
|
|
a6dfc0 |
+
|
|
|
a6dfc0 |
foreach t [list indirect5a indirect5b indirect6a indirect6b] {
|
|
|
a6dfc0 |
set testname [concat $t "dynsym"]
|
|
|
a6dfc0 |
if { [check_dynamic_syms tmpdir/$t] } {
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2019-06-06 14:30:41.487166785 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-ifunc/ifunc.exp 2019-06-06 16:11:13.545947519 +0100
|
|
|
a6dfc0 |
@@ -300,15 +300,21 @@ if {! [check_osabi tmpdir/static_nonifun
|
|
|
a6dfc0 |
# should not.
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
if {[contains_ifunc_symbol tmpdir/libshared_ifunc.so] != 1} {
|
|
|
a6dfc0 |
+ setup_xfail "ppc64*-*-linux-gnu"
|
|
|
a6dfc0 |
+ setup_xfail "powerpc64*-*-linux-gnu"
|
|
|
a6dfc0 |
fail "Shared libraries containing ifunc does not contain an IFUNC symbol"
|
|
|
a6dfc0 |
set fails [expr $fails + 1]
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
if {[contains_ifunc_symbol tmpdir/local_prog] != 1} {
|
|
|
a6dfc0 |
+ setup_xfail "ppc64*-*-linux-gnu"
|
|
|
a6dfc0 |
+ setup_xfail "powerpc64*-*-linux-gnu"
|
|
|
a6dfc0 |
fail "Local ifunc-using executable does not contain an IFUNC symbol"
|
|
|
a6dfc0 |
set fails [expr $fails + 1]
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
if { ![string match "" $STATIC_LDFLAGS] \
|
|
|
a6dfc0 |
&& [contains_ifunc_symbol tmpdir/static_prog] != 1} {
|
|
|
a6dfc0 |
+ setup_xfail "ppc64*-*-linux-gnu"
|
|
|
a6dfc0 |
+ setup_xfail "powerpc64*-*-linux-gnu"
|
|
|
a6dfc0 |
fail "Static ifunc-using executable does not contain an IFUNC symbol"
|
|
|
a6dfc0 |
set fails [expr $fails + 1]
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
@@ -587,6 +593,13 @@ run_cc_link_tests [list \
|
|
|
a6dfc0 |
{} \
|
|
|
a6dfc0 |
"libpr18841cn.so" \
|
|
|
a6dfc0 |
] \
|
|
|
a6dfc0 |
+]
|
|
|
a6dfc0 |
+
|
|
|
a6dfc0 |
+if { [isnative]
|
|
|
a6dfc0 |
+ && !([istarget "powerpc*-*-*"]
|
|
|
a6dfc0 |
+ || [istarget "aarch64*-*-*"]
|
|
|
a6dfc0 |
+ || [istarget "sparc*-*-*"]) } {
|
|
|
a6dfc0 |
+run_cc_link_tests [list \
|
|
|
a6dfc0 |
[list \
|
|
|
a6dfc0 |
"Build libpr23169a.so" \
|
|
|
a6dfc0 |
"-shared" \
|
|
|
a6dfc0 |
@@ -657,7 +670,8 @@ run_cc_link_tests [list \
|
|
|
a6dfc0 |
{readelf {-r -W} pr23169b.rd}} \
|
|
|
a6dfc0 |
"pr23169f" \
|
|
|
a6dfc0 |
] \
|
|
|
a6dfc0 |
-]
|
|
|
a6dfc0 |
+ ]
|
|
|
a6dfc0 |
+}
|
|
|
a6dfc0 |
|
|
|
a6dfc0 |
run_ld_link_exec_tests [list \
|
|
|
a6dfc0 |
[list \
|
|
|
a6dfc0 |
@@ -719,7 +733,7 @@ run_ld_link_exec_tests [list \
|
|
|
a6dfc0 |
# That does not happen for the pr23169 testcase where the resolver is
|
|
|
a6dfc0 |
# in the executable (which is relocated last by ld.so).
|
|
|
a6dfc0 |
if { [isnative]
|
|
|
a6dfc0 |
- && !([istarget "powerpc-*-*"]
|
|
|
a6dfc0 |
+ && !([istarget "powerpc*-*-*"]
|
|
|
a6dfc0 |
|| [istarget "aarch64*-*-*"]
|
|
|
a6dfc0 |
|| [istarget "sparc*-*-*"]) } {
|
|
|
a6dfc0 |
run_ld_link_exec_tests [list \
|
|
|
a6dfc0 |
--- binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp 2019-06-12 11:00:46.555467871 +0100
|
|
|
a6dfc0 |
+++ binutils-2.32/ld/testsuite/ld-x86-64/x86-64.exp 2019-06-12 11:06:19.179023902 +0100
|
|
|
a6dfc0 |
@@ -1956,7 +1956,9 @@ run_ld_link_tests [list \
|
|
|
a6dfc0 |
global LD_CLASS
|
|
|
a6dfc0 |
if { "$LD_CLASS" == "64bit" } then {
|
|
|
a6dfc0 |
# This test needs 64-bit linker.
|
|
|
a6dfc0 |
- run_dump_test "pr17618"
|
|
|
a6dfc0 |
+ # The test times out when runnig under OSCI's test harness, because
|
|
|
a6dfc0 |
+ # it is so overloaded, so skip it for now. The test works normally.
|
|
|
a6dfc0 |
+ # run_dump_test "pr17618"
|
|
|
a6dfc0 |
}
|
|
|
a6dfc0 |
run_dump_test "pltgot-1"
|
|
|
a6dfc0 |
run_dump_test "pltgot-2"
|