diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-11-20 13:29:41 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-11-20 13:29:41 -0800 |
commit | 4cd4358388c02ca25f626b3e66a02df79a8ce968 (patch) | |
tree | db7cf9b1b9a0f82de000202931a62dba85bf702e /ld | |
parent | 76e7af5ffa07e570c7cedb8b8141a822905d78f0 (diff) | |
download | gdb-4cd4358388c02ca25f626b3e66a02df79a8ce968.zip gdb-4cd4358388c02ca25f626b3e66a02df79a8ce968.tar.gz gdb-4cd4358388c02ca25f626b3e66a02df79a8ce968.tar.bz2 |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/plt-main1.rd | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/plt-main2.rd | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/plt-main3.rd | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/plt-main4.rd | 4 |
5 files changed, 13 insertions, 6 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 5c5fe88..f959d55 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,12 @@ 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> + * ld-x86-64/plt-lib.c: New file. * ld-x86-64/plt-main.out: Likewise. * ld-x86-64/plt-main1.c: Likewise. diff --git a/ld/testsuite/ld-x86-64/plt-main1.rd b/ld/testsuite/ld-x86-64/plt-main1.rd index 9ce3814..421d911 100644 --- a/ld/testsuite/ld-x86-64/plt-main1.rd +++ b/ld/testsuite/ld-x86-64/plt-main1.rd @@ -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 diff --git a/ld/testsuite/ld-x86-64/plt-main2.rd b/ld/testsuite/ld-x86-64/plt-main2.rd index 5cc55ca..f074ede 100644 --- a/ld/testsuite/ld-x86-64/plt-main2.rd +++ b/ld/testsuite/ld-x86-64/plt-main2.rd @@ -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 diff --git a/ld/testsuite/ld-x86-64/plt-main3.rd b/ld/testsuite/ld-x86-64/plt-main3.rd index 46d7cc9..f3d294e 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_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 diff --git a/ld/testsuite/ld-x86-64/plt-main4.rd b/ld/testsuite/ld-x86-64/plt-main4.rd index 8be3f86..7f33f3a 100644 --- a/ld/testsuite/ld-x86-64/plt-main4.rd +++ b/ld/testsuite/ld-x86-64/plt-main4.rd @@ -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 |