This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 5/8] x86: Update IFUNC tests for -z separate-code
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 15 Feb 2018 06:26:40 -0800
- Subject: [PATCH 5/8] x86: Update IFUNC tests for -z separate-code
- Authentication-results: sourceware.org; auth=none
- References: <20180215142643.32242-1-hjl.tools@gmail.com>
"-z separate-code" generates different PLT addresses. Update these tests
to accept any PLT addresses.
* testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
* testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
* testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
---
ld/testsuite/ld-ifunc/ifunc-1-local-x86.d | 2 +-
ld/testsuite/ld-ifunc/ifunc-1-x86.d | 2 +-
ld/testsuite/ld-ifunc/ifunc-3a-x86.d | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ld/testsuite/ld-ifunc/ifunc-1-local-x86.d b/ld/testsuite/ld-ifunc/ifunc-1-local-x86.d
index a6a2c204e5..1a084ee34e 100644
--- a/ld/testsuite/ld-ifunc/ifunc-1-local-x86.d
+++ b/ld/testsuite/ld-ifunc/ifunc-1-local-x86.d
@@ -4,5 +4,5 @@
#map: ifunc-1-local-x86.map
#...
-[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*(\+0x160|\+0x170|\+0x1e0|)@plt>
+[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*\+0x[0-9-a-f]+@plt>
#pass
diff --git a/ld/testsuite/ld-ifunc/ifunc-1-x86.d b/ld/testsuite/ld-ifunc/ifunc-1-x86.d
index 1471dfea1f..1908c1509f 100644
--- a/ld/testsuite/ld-ifunc/ifunc-1-x86.d
+++ b/ld/testsuite/ld-ifunc/ifunc-1-x86.d
@@ -4,5 +4,5 @@
#map: ifunc-1-x86.map
#...
-[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*(\+0x170|\+0x190|\+0x210|)@plt>
+[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*\+0x[0-9-a-f]+@plt>
#pass
diff --git a/ld/testsuite/ld-ifunc/ifunc-3a-x86.d b/ld/testsuite/ld-ifunc/ifunc-3a-x86.d
index 3c2a9598c7..c79305aebb 100644
--- a/ld/testsuite/ld-ifunc/ifunc-3a-x86.d
+++ b/ld/testsuite/ld-ifunc/ifunc-3a-x86.d
@@ -4,5 +4,5 @@
#target: x86_64-*-* i?86-*-*
#...
-[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*(\+0x190|\+0x1a0|\+0x1b0|\+0x220|)@plt>
+[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*\+0x[0-9-a-f]+@plt>
#pass
--
2.14.3