This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Also check GOTPCRELX
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 29 Oct 2015 09:19:47 -0700
- Subject: [PATCH] Also check GOTPCRELX
- Authentication-results: sourceware.org; auth=none
* ld-x86-64/plt-main3.rd: Also check GOTPCRELX.
---
ld/testsuite/ChangeLog | 4 ++++
ld/testsuite/ld-x86-64/plt-main3.rd | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index d775f11..cb4d215 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2015-10-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-x86-64/plt-main3.rd: Also check GOTPCRELX.
+
2015-10-29 Catherine Moore <clm@codesourcery.com>
* ld-mips-elf/mips16-fp-stub-1.s: New.
diff --git a/ld/testsuite/ld-x86-64/plt-main3.rd b/ld/testsuite/ld-x86-64/plt-main3.rd
index 0a0d402..6e989ea 100644
--- a/ld/testsuite/ld-x86-64/plt-main3.rd
+++ b/ld/testsuite/ld-x86-64/plt-main3.rd
@@ -1,5 +1,5 @@
#...
-[0-9a-f ]+R_X86_64_(REX_GOTPCRELX|GOTPCREL) +0+ +bar - 4
+[0-9a-f ]+R_X86_64_(REX_GOTPCRELX|GOTPCRELX|GOTPCREL) +0+ +bar - 4
#...
[0-9a-f ]+R_X86_64_PLT32 +0+ +bar - 4
#pass
--
2.4.3