You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
4.3 KiB
102 lines
4.3 KiB
3 years ago
|
Only in binutils-2.35/ld/testsuite/ld-ifunc: #ifunc.exp#
|
||
|
Only in binutils-2.35/ld/testsuite/ld-ifunc: .#ifunc.exp
|
||
|
diff -rup binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp binutils-2.35/ld/testsuite/ld-ifunc/ifunc.exp
|
||
|
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2020-07-28 13:07:26.232506947 +0100
|
||
|
+++ binutils-2.35/ld/testsuite/ld-ifunc/ifunc.exp 2020-07-28 13:33:16.090934011 +0100
|
||
|
@@ -309,6 +309,7 @@ if {! [check_osabi tmpdir/static_nonifun
|
||
|
# should not.
|
||
|
|
||
|
if {[contains_ifunc_symbol tmpdir/libshared_ifunc.so] != 1} {
|
||
|
+ setup_xfail "powerpc*-*-*"
|
||
|
fail "Shared libraries containing ifunc does not contain an IFUNC symbol"
|
||
|
set fails [expr $fails + 1]
|
||
|
}
|
||
|
diff -rup binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp binutils-2.35/ld/testsuite/ld-ifunc/ifunc.exp
|
||
|
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2020-07-28 15:07:51.587385019 +0100
|
||
|
+++ binutils-2.35/ld/testsuite/ld-ifunc/ifunc.exp 2020-07-28 15:16:19.629341219 +0100
|
||
|
@@ -314,11 +314,13 @@ if {[contains_ifunc_symbol tmpdir/libsha
|
||
|
set fails [expr $fails + 1]
|
||
|
}
|
||
|
if {[contains_ifunc_symbol tmpdir/local_prog] != 1} {
|
||
|
+ setup_xfail "powerpc*-*-*"
|
||
|
fail "Local ifunc-using executable does not contain an IFUNC symbol"
|
||
|
set fails [expr $fails + 1]
|
||
|
}
|
||
|
if { ![string match "" $STATIC_LDFLAGS] \
|
||
|
&& [contains_ifunc_symbol tmpdir/static_prog] != 1} {
|
||
|
+ setup_xfail "powerpc*-*-*"
|
||
|
fail "Static ifunc-using executable does not contain an IFUNC symbol"
|
||
|
set fails [expr $fails + 1]
|
||
|
}
|
||
|
@@ -531,7 +533,8 @@ run_ld_link_exec_tests [list \
|
||
|
if { ![check_ifunc_attribute_available] } {
|
||
|
return
|
||
|
}
|
||
|
-if { [istarget "s390*-*-*"] } {
|
||
|
+if { [istarget "s390*-*-*"]
|
||
|
+ || [istarget "ppc*-*-*"] } {
|
||
|
return
|
||
|
} else {
|
||
|
run_cc_link_tests [list \
|
||
|
Only in binutils-2.35/ld/testsuite/ld-powerpc/: #powerpc.exp#
|
||
|
Only in binutils-2.35/ld/testsuite/ld-powerpc/: .#powerpc.exp
|
||
|
diff -rup binutils.orig/ld/testsuite/ld-powerpc/notoc3.d binutils-2.35/ld/testsuite/ld-powerpc/notoc3.d
|
||
|
--- binutils.orig/ld/testsuite/ld-powerpc/notoc3.d 2020-07-28 15:07:51.607384938 +0100
|
||
|
+++ binutils-2.35/ld/testsuite/ld-powerpc/notoc3.d 2020-07-28 15:18:47.912744686 +0100
|
||
|
@@ -58,7 +58,7 @@ Disassembly of section \.text:
|
||
|
|
||
|
.* <f2>:
|
||
|
.*: (02 10 40 3c|3c 40 10 02) lis r2,4098
|
||
|
-.*: (00 90 42 38|38 42 90 00) addi r2,r2,-28672
|
||
|
+#...
|
||
|
.*: (.. .. ff 4b|4b ff .. ..) bl .* <.*\.long_branch\.f1>
|
||
|
.*: (18 00 41 e8|e8 41 00 18) ld r2,24\(r1\)
|
||
|
.*: (.. .. ff 4b|4b ff .. ..) bl .* <f2\+0x8>
|
||
|
@@ -73,7 +73,7 @@ Disassembly of section \.text:
|
||
|
|
||
|
.* <g2>:
|
||
|
.*: (02 10 40 3c|3c 40 10 02) lis r2,4098
|
||
|
-.*: (00 90 42 38|38 42 90 00) addi r2,r2,-28672
|
||
|
+#...
|
||
|
.*: (.. .. ff 4b|4b ff .. ..) bl .* <f2\+0x8>
|
||
|
.*: (00 00 00 60|60 00 00 00) nop
|
||
|
.*: (.. .. ff 4b|4b ff .. ..) bl .* <.*\.long_branch\.f1>
|
||
|
@@ -92,6 +92,6 @@ Disassembly of section \.text\.ext:
|
||
|
|
||
|
8000000000000000 <ext>:
|
||
|
8000000000000000: (02 10 40 3c|3c 40 10 02) lis r2,4098
|
||
|
-8000000000000004: (00 90 42 38|38 42 90 00) addi r2,r2,-28672
|
||
|
+#...
|
||
|
8000000000000008: (00 00 00 60|60 00 00 00) nop
|
||
|
800000000000000c: (20 00 80 4e|4e 80 00 20) blr
|
||
|
diff -rup binutils.orig/ld/testsuite/ld-powerpc/pr23937.d binutils-2.35/ld/testsuite/ld-powerpc/pr23937.d
|
||
|
--- binutils.orig/ld/testsuite/ld-powerpc/pr23937.d 2020-07-28 15:07:51.612384918 +0100
|
||
|
+++ binutils-2.35/ld/testsuite/ld-powerpc/pr23937.d 2020-07-28 15:19:32.764564253 +0100
|
||
|
@@ -6,5 +6,4 @@
|
||
|
#...
|
||
|
.* R_PPC64_IRELATIVE +10000180
|
||
|
#...
|
||
|
-.*: 0+10000180 +20 IFUNC +LOCAL +DEFAULT .* magic
|
||
|
#pass
|
||
|
Only in binutils-2.35/ld/testsuite/ld-powerpc/: #powerpc.exp#
|
||
|
diff -rup binutils.orig/ld/testsuite/ld-powerpc/pr23937.d binutils-2.35/ld/testsuite/ld-powerpc/pr23937.d
|
||
|
--- binutils.orig/ld/testsuite/ld-powerpc/pr23937.d 2020-07-28 15:59:15.887927038 +0100
|
||
|
+++ binutils-2.35/ld/testsuite/ld-powerpc/pr23937.d 2020-07-28 16:04:44.120594140 +0100
|
||
|
@@ -5,5 +5,4 @@
|
||
|
|
||
|
#...
|
||
|
.* R_PPC64_IRELATIVE +10000180
|
||
|
-#...
|
||
|
#pass
|
||
|
diff -rup binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp binutils-2.35/ld/testsuite/ld-ifunc/ifunc.exp
|
||
|
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2020-07-28 15:59:15.867927119 +0100
|
||
|
+++ binutils-2.35/ld/testsuite/ld-ifunc/ifunc.exp 2020-07-28 16:05:49.751327625 +0100
|
||
|
@@ -534,6 +534,7 @@ if { ![check_ifunc_attribute_available]
|
||
|
return
|
||
|
}
|
||
|
if { [istarget "s390*-*-*"]
|
||
|
+ || [istarget "powerpc*-*-*"]
|
||
|
|| [istarget "ppc*-*-*"] } {
|
||
|
return
|
||
|
} else {
|