This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Also check GOTPCRELX
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 29 Oct 2015 16:20:03 -0000
- Subject: [binutils-gdb] Also check GOTPCRELX
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b10a8bc7de0087b5c509b4b0831e606b56b6702c
commit b10a8bc7de0087b5c509b4b0831e606b56b6702c
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Oct 29 09:18:57 2015 -0700
Also check GOTPCRELX
* ld-x86-64/plt-main3.rd: Also check GOTPCRELX.
Diff:
---
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