ppc32 tlsopt tests
authorAlan Modra <amodra@gmail.com>
Fri, 14 Jul 2017 09:07:26 +0000 (18:37 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 14 Jul 2017 13:21:01 +0000 (22:51 +0930)
commit86038de0d810f8639d22573921d2589a99829b36
tree6b8e27da2402a1a1378a2593a662d55ba693a3fd
parent211b0bed95b3f6b177a541ec52302b8febd6b49c
ppc32 tlsopt tests

These all were odd in that they used r13 as the GOT pointer.  That
didn't matter for the purpose of testing, but would never occur in
practice.  Also, the tlsopt5 tests could have their global dynamic
sequences optimized to initial exec, so link with -shared.

* testsuite/ld-powerpc/powerpc.exp: Add -shared to tlsop5 tests.
* testsuite/ld-powerpc/tlsopt5.d: Adjust.
* testsuite/ld-powerpc/tlsopt1_32.s: Use r30 as GOT pointer.
* testsuite/ld-powerpc/tlsopt2_32.s: Likewise.
* testsuite/ld-powerpc/tlsopt3_32.s: Likewise.
* testsuite/ld-powerpc/tlsopt4_32.s: Likewise.
* testsuite/ld-powerpc/tlsopt5_32.s: Rewrite.
* testsuite/ld-powerpc/tlsopt1_32.d: Adjust.
* testsuite/ld-powerpc/tlsopt2_32.d: Adjust.
* testsuite/ld-powerpc/tlsopt3_32.d: Adjust.
* testsuite/ld-powerpc/tlsopt5_32.d: Adjust.
12 files changed:
ld/ChangeLog
ld/testsuite/ld-powerpc/powerpc.exp
ld/testsuite/ld-powerpc/tlsopt1_32.d
ld/testsuite/ld-powerpc/tlsopt1_32.s
ld/testsuite/ld-powerpc/tlsopt2_32.d
ld/testsuite/ld-powerpc/tlsopt2_32.s
ld/testsuite/ld-powerpc/tlsopt3_32.d
ld/testsuite/ld-powerpc/tlsopt3_32.s
ld/testsuite/ld-powerpc/tlsopt4_32.s
ld/testsuite/ld-powerpc/tlsopt5.d
ld/testsuite/ld-powerpc/tlsopt5_32.d
ld/testsuite/ld-powerpc/tlsopt5_32.s