aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-03-27 06:59:41 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-03-27 07:01:54 -0700
commitcacb9d871376da293c655efce8cf3a4f2feefbaa (patch)
tree265c8bb3020fc19a0dfa219017b0a7cea1dec11f
parent8f2dae6a6a031c4a10986f96eb72f9a4c212ceb5 (diff)
downloadfsf-binutils-gdb-cacb9d871376da293c655efce8cf3a4f2feefbaa.zip
fsf-binutils-gdb-cacb9d871376da293c655efce8cf3a4f2feefbaa.tar.gz
fsf-binutils-gdb-cacb9d871376da293c655efce8cf3a4f2feefbaa.tar.bz2
ld: Skip some x86 IFUNC tests for Solaris
Since Solaris ld.so.1 doesn't support ifunc and never will, skip some x86 IFUNC tests for Solaris. PR 25732 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris. * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise. * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-23a-x86.d1
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-24a-x86.d1
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-25a-x86.d1
4 files changed, 10 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1552d19..752453e 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,10 @@
+2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR 25732
+ * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
+ * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
+ * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
+
2020-03-25 Alan Modra <amodra@gmail.com>
* testsuite/ld-elf/compress1c.d: xfail h8300.
diff --git a/ld/testsuite/ld-ifunc/ifunc-23a-x86.d b/ld/testsuite/ld-ifunc/ifunc-23a-x86.d
index a989140..7359d04 100644
--- a/ld/testsuite/ld-ifunc/ifunc-23a-x86.d
+++ b/ld/testsuite/ld-ifunc/ifunc-23a-x86.d
@@ -2,6 +2,7 @@
#ld:
#readelf: -r --wide
#target: x86_64-*-* i?86-*-*
+#notarget: *-*-solaris*
Relocation section '.rel(a|).plt' at offset 0x[0-9a-f]+ contains 1 entry:
+Offset +Info +Type +Sym.* Value +Symbol's Name.*
diff --git a/ld/testsuite/ld-ifunc/ifunc-24a-x86.d b/ld/testsuite/ld-ifunc/ifunc-24a-x86.d
index 91e87ee..7b63a5c 100644
--- a/ld/testsuite/ld-ifunc/ifunc-24a-x86.d
+++ b/ld/testsuite/ld-ifunc/ifunc-24a-x86.d
@@ -2,6 +2,7 @@
#ld:
#readelf: -r --wide
#target: x86_64-*-* i?86-*-*
+#notarget: *-*-solaris*
Relocation section '.rel(a|).plt' at offset 0x[0-9a-f]+ contains 1 entry:
+Offset +Info +Type +Sym.* Value +Symbol's Name.*
diff --git a/ld/testsuite/ld-ifunc/ifunc-25a-x86.d b/ld/testsuite/ld-ifunc/ifunc-25a-x86.d
index 5f49fd8..e07c819 100644
--- a/ld/testsuite/ld-ifunc/ifunc-25a-x86.d
+++ b/ld/testsuite/ld-ifunc/ifunc-25a-x86.d
@@ -2,6 +2,7 @@
#ld:
#readelf: -r --wide
#target: x86_64-*-* i?86-*-*
+#notarget: *-*-solaris*
Relocation section '.rel(a|).plt' at offset 0x[0-9a-f]+ contains 1 entry:
+Offset +Info +Type +Sym.* Value +Symbol's Name.*