Add function and function pointer tests for i386
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 21 Nov 2014 16:45:02 +0000 (08:45 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 21 Nov 2014 16:45:02 +0000 (08:45 -0800)
commit4a7a79238819b06f8995ee9d916c8e06f680c631
tree99c22941867a58b24b879b37b0c1e6777d8a903f
parentce641d0b6b9fc9d873cf204c5ecd25a451fef3d2
Add function and function pointer tests for i386

This patch adds tests for function and function pointer for i386.

* ld-i386/plt-lib.c: New file.
* ld-i386/plt-main.out: Likewise.
* ld-i386/plt-main1.c: Likewise.
* ld-i386/plt-main1.rd: Likewise.
* ld-i386/plt-main2.c: Likewise.
* ld-i386/plt-main2.rd: Likewise.
* ld-i386/plt-main3.c: Likewise.
* ld-i386/plt-main3.rd: Likewise.
* ld-i386/plt-main4.c: Likewise.
* ld-i386/plt-main4.rd: Likewise.
* ld-i386/plt-main5.c: Likewise.

* ld-i386/i386.exp: Run plt-main tests.
13 files changed:
ld/testsuite/ChangeLog
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/plt-lib.c [new file with mode: 0644]
ld/testsuite/ld-i386/plt-main.out [new file with mode: 0644]
ld/testsuite/ld-i386/plt-main1.c [new file with mode: 0644]
ld/testsuite/ld-i386/plt-main1.rd [new file with mode: 0644]
ld/testsuite/ld-i386/plt-main2.c [new file with mode: 0644]
ld/testsuite/ld-i386/plt-main2.rd [new file with mode: 0644]
ld/testsuite/ld-i386/plt-main3.c [new file with mode: 0644]
ld/testsuite/ld-i386/plt-main3.rd [new file with mode: 0644]
ld/testsuite/ld-i386/plt-main4.c [new file with mode: 0644]
ld/testsuite/ld-i386/plt-main4.rd [new file with mode: 0644]
ld/testsuite/ld-i386/plt-main5.c [new file with mode: 0644]