diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-11-20 12:41:11 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-11-20 12:41:11 -0800 |
commit | 76e7af5ffa07e570c7cedb8b8141a822905d78f0 (patch) | |
tree | 5a8a2c50e37dd125a947bec0454403f01630fa6d /ld/testsuite/ld-x86-64/plt-main4.rd | |
parent | 731885c1add5b5012654fe1a70572f033c8d21f8 (diff) | |
download | fsf-binutils-gdb-76e7af5ffa07e570c7cedb8b8141a822905d78f0.zip fsf-binutils-gdb-76e7af5ffa07e570c7cedb8b8141a822905d78f0.tar.gz fsf-binutils-gdb-76e7af5ffa07e570c7cedb8b8141a822905d78f0.tar.bz2 |
Add function and function pointer tests
This patch adds tests for function and function pointer.
* ld-x86-64/plt-lib.c: New file.
* ld-x86-64/plt-main.out: Likewise.
* ld-x86-64/plt-main1.c: Likewise.
* ld-x86-64/plt-main1.rd: Likewise.
* ld-x86-64/plt-main2.c: Likewise.
* ld-x86-64/plt-main2.rd: Likewise.
* ld-x86-64/plt-main3.c: Likewise.
* ld-x86-64/plt-main3.rd: Likewise.
* ld-x86-64/plt-main4.c: Likewise.
* ld-x86-64/plt-main4.rd: Likewise.
* ld-x86-64/plt-main5.c: Likewise.
* ld-x86-64/x86-64.exp: Run plt-main tests.
Diffstat (limited to 'ld/testsuite/ld-x86-64/plt-main4.rd')
-rw-r--r-- | ld/testsuite/ld-x86-64/plt-main4.rd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/plt-main4.rd b/ld/testsuite/ld-x86-64/plt-main4.rd new file mode 100644 index 0000000..8be3f86 --- /dev/null +++ b/ld/testsuite/ld-x86-64/plt-main4.rd @@ -0,0 +1,5 @@ +#... +[0-9a-f ]+R_X86_64_GOTPCREL +0+ foo - 4 +#... +[0-9a-f ]+R_X86_64_PLT32 +0+ foo - 4 +#pass |