X86: Add tests for static function pointer
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 15 Jun 2016 16:44:21 +0000 (09:44 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 15 Jun 2016 16:44:21 +0000 (09:44 -0700)
commit3a4b0e0f9670679f8942f2bd57aa86ae0412b171
treeb41e2135957cc0c80bcbdc7a9b919e6c573654f0
parent3ee6e4fbec4a4e0451f20efce50acb720e921a9f
X86: Add tests for static function pointer

* testsuite/ld-i386/no-plt-check1a.S (check): Test static
function pointer.
* testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
* testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
* testsuite/ld-i386/no-plt-extern1a.S (func_p): New.  Static
function pointer.
* testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
* testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
* testsuite/ld-i386/no-plt-1a.dd: Updated.
* testsuite/ld-i386/no-plt-1b.dd: Likewise.
* testsuite/ld-i386/no-plt-1c.dd: Likewise.
* testsuite/ld-i386/no-plt-1d.dd: Likewise.
* testsuite/ld-i386/no-plt-1e.dd: Likewise.
* testsuite/ld-i386/no-plt-1f.dd: Likewise.
* testsuite/ld-i386/no-plt-1g.dd: Likewise.
* testsuite/ld-i386/no-plt-1h.dd: Likewise.
* testsuite/ld-i386/no-plt-1i.dd: Likewise.
* testsuite/ld-i386/no-plt-1j.dd: Likewise.
* testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
* testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
* testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
* testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
* testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
* testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
* testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
24 files changed:
ld/ChangeLog
ld/testsuite/ld-i386/no-plt-1a.dd
ld/testsuite/ld-i386/no-plt-1b.dd
ld/testsuite/ld-i386/no-plt-1c.dd
ld/testsuite/ld-i386/no-plt-1d.dd
ld/testsuite/ld-i386/no-plt-1e.dd
ld/testsuite/ld-i386/no-plt-1f.dd
ld/testsuite/ld-i386/no-plt-1g.dd
ld/testsuite/ld-i386/no-plt-1h.dd
ld/testsuite/ld-i386/no-plt-1i.dd
ld/testsuite/ld-i386/no-plt-1j.dd
ld/testsuite/ld-i386/no-plt-check1a.S
ld/testsuite/ld-i386/no-plt-check1b.S
ld/testsuite/ld-i386/no-plt-extern1a.S
ld/testsuite/ld-i386/no-plt-extern1b.S
ld/testsuite/ld-x86-64/no-plt-1a.dd
ld/testsuite/ld-x86-64/no-plt-1b.dd
ld/testsuite/ld-x86-64/no-plt-1c.dd
ld/testsuite/ld-x86-64/no-plt-1d.dd
ld/testsuite/ld-x86-64/no-plt-1e.dd
ld/testsuite/ld-x86-64/no-plt-1f.dd
ld/testsuite/ld-x86-64/no-plt-1g.dd
ld/testsuite/ld-x86-64/no-plt-check1.S
ld/testsuite/ld-x86-64/no-plt-extern1.S