Update plt-main tests for x32

* ld-x86-64/plt-main1.rd: Updated for x32.
	* ld-x86-64/plt-main2.rd: Likewise.
	* ld-x86-64/plt-main3.rd: Likewise.
	* ld-x86-64/plt-main4.rd: Likewise.
This commit is contained in:
H.J. Lu 2014-11-20 13:29:41 -08:00
parent 76e7af5ffa
commit 4cd4358388
5 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2014-11-20 H.J. Lu <hongjiu.lu@intel.com>
* ld-x86-64/plt-main1.rd: Updated for x32.
* ld-x86-64/plt-main2.rd: Likewise.
* ld-x86-64/plt-main3.rd: Likewise.
* ld-x86-64/plt-main4.rd: Likewise.
2014-11-20 H.J. Lu <hongjiu.lu@intel.com> 2014-11-20 H.J. Lu <hongjiu.lu@intel.com>
* ld-x86-64/plt-lib.c: New file. * ld-x86-64/plt-lib.c: New file.

View File

@ -1,3 +1,3 @@
#... #...
[0-9a-f ]+R_X86_64_GOTPCREL +0+ bar - 4 [0-9a-f ]+R_X86_64_GOTPCREL +0+ +bar - 4
#pass #pass

View File

@ -1,3 +1,3 @@
#... #...
[0-9a-f ]+R_X86_64_64 +0+ foo \+ 0 [0-9a-f ]+R_X86_64_(64|32) +0+ +foo \+ 0
#pass #pass

View File

@ -1,5 +1,5 @@
#... #...
[0-9a-f ]+R_X86_64_GOTPCREL +0+ bar - 4 [0-9a-f ]+R_X86_64_GOTPCREL +0+ +bar - 4
#... #...
[0-9a-f ]+R_X86_64_PLT32 +0+ bar - 4 [0-9a-f ]+R_X86_64_PLT32 +0+ +bar - 4
#pass #pass

View File

@ -1,5 +1,5 @@
#... #...
[0-9a-f ]+R_X86_64_GOTPCREL +0+ foo - 4 [0-9a-f ]+R_X86_64_GOTPCREL +0+ +foo - 4
#... #...
[0-9a-f ]+R_X86_64_PLT32 +0+ foo - 4 [0-9a-f ]+R_X86_64_PLT32 +0+ +foo - 4
#pass #pass