86038de0d8
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.
25 lines
565 B
Makefile
25 lines
565 B
Makefile
#source: tlsopt1_32.s
|
|
#source: tlslib32.s
|
|
#as: -a32
|
|
#ld:
|
|
#objdump: -dr
|
|
#target: powerpc*-*-*
|
|
|
|
.*
|
|
|
|
Disassembly of section \.text:
|
|
|
|
0+1800094 <__tls_get_addr>:
|
|
.*: (4e 80 00 20|20 00 80 4e) blr
|
|
|
|
Disassembly of section \.no_opt1:
|
|
|
|
0+1800098 <\.no_opt1>:
|
|
.*: (38 7e ff f4|f4 ff 7e 38) addi r3,r30,-12
|
|
.*: (2c 04 00 00|00 00 04 2c) cmpwi r4,0
|
|
.*: (41 82 00 0c|0c 00 82 41) beq .*
|
|
.*: (4b ff ff f1|f1 ff ff 4b) bl 1800094 <__tls_get_addr>
|
|
.*: (48 00 00 08|08 00 00 48) b .*
|
|
.*: (4b ff ff e9|e9 ff ff 4b) bl 1800094 <__tls_get_addr>
|
|
#pass
|