Add function and function pointer tests
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 20 Nov 2014 20:41:11 +0000 (12:41 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 20 Nov 2014 20:41:11 +0000 (12:41 -0800)
commit76e7af5ffa07e570c7cedb8b8141a822905d78f0
tree5a8a2c50e37dd125a947bec0454403f01630fa6d
parent731885c1add5b5012654fe1a70572f033c8d21f8
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.
13 files changed:
ld/testsuite/ChangeLog
ld/testsuite/ld-x86-64/plt-lib.c [new file with mode: 0644]
ld/testsuite/ld-x86-64/plt-main.out [new file with mode: 0644]
ld/testsuite/ld-x86-64/plt-main1.c [new file with mode: 0644]
ld/testsuite/ld-x86-64/plt-main1.rd [new file with mode: 0644]
ld/testsuite/ld-x86-64/plt-main2.c [new file with mode: 0644]
ld/testsuite/ld-x86-64/plt-main2.rd [new file with mode: 0644]
ld/testsuite/ld-x86-64/plt-main3.c [new file with mode: 0644]
ld/testsuite/ld-x86-64/plt-main3.rd [new file with mode: 0644]
ld/testsuite/ld-x86-64/plt-main4.c [new file with mode: 0644]
ld/testsuite/ld-x86-64/plt-main4.rd [new file with mode: 0644]
ld/testsuite/ld-x86-64/plt-main5.c [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp