[PATCH] ld: Skip some x86 IFUNC tests for Solaris

H.J. Lu hjl.tools@gmail.com
Fri Mar 27 14:01:47 GMT 2020


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.
---
 ld/ChangeLog                          | 7 +++++++
 ld/testsuite/ld-ifunc/ifunc-23a-x86.d | 1 +
 ld/testsuite/ld-ifunc/ifunc-24a-x86.d | 1 +
 ld/testsuite/ld-ifunc/ifunc-25a-x86.d | 1 +
 4 files changed, 10 insertions(+)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1552d19b73..752453e396 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 a9891407fb..7359d04575 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 91e87ee8f4..7b63a5ceb3 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 5f49fd83ff..e07c819ba6 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.*
-- 
2.25.1




More information about the Binutils mailing list