aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-05-26 14:25:19 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-05-26 14:25:19 -0700
commit368584aa8c7da0285c0fde2be83b5aaa02efff00 (patch)
tree6819d74853addbc081c7176de6a34b82e0e76764 /ld
parent3c7307403487367bc8d163a41324888efcebdd82 (diff)
downloadgdb-368584aa8c7da0285c0fde2be83b5aaa02efff00.zip
gdb-368584aa8c7da0285c0fde2be83b5aaa02efff00.tar.gz
gdb-368584aa8c7da0285c0fde2be83b5aaa02efff00.tar.bz2
ld: Skip some x86 ifunc tests for lynxos and nto
On lynxos and nto: regexp_diff match failure regexp "^Relocation section '.rel(a|).plt' at offset 0x[0-9a-f]+ contains 1 entry:$" line "Relocation section '.rel.dyn' at offset 0x74 contains 1 entry:" FAIL: ld-ifunc/ifunc-23a-x86 * testsuite/ld-ifunc/ifunc-23a-x86.d: Skip *-*-lynxos *-*-nto*. * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise. * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-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, 9 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 098bd81..f0d6c26 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-ifunc/ifunc-23a-x86.d: Skip *-*-lynxos *-*-nto*.
+ * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
+ * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
+
2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-x86-64/x86-64.exp: Pass -z notext to linker.
diff --git a/ld/testsuite/ld-ifunc/ifunc-23a-x86.d b/ld/testsuite/ld-ifunc/ifunc-23a-x86.d
index a989140..e979335 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: *-*-lynxos *-*-nto*
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..77b59ba 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: *-*-lynxos *-*-nto*
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..015868f 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: *-*-lynxos *-*-nto*
Relocation section '.rel(a|).plt' at offset 0x[0-9a-f]+ contains 1 entry:
+Offset +Info +Type +Sym.* Value +Symbol's Name.*