[PATCH] Also check GOTPCRELX

H.J. Lu hjl.tools@gmail.com
Thu Oct 29 16:19:00 GMT 2015


	* 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



More information about the Binutils mailing list