mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
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.
24 lines
509 B
Makefile
24 lines
509 B
Makefile
#source: tlsopt2_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_opt2:
|
|
|
|
0+1800098 <\.no_opt2>:
|
|
.*: (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 08|08 00 82 41) beq .*
|
|
.*: (38 7e ff f4|f4 ff 7e 38) addi r3,r30,-12
|
|
.*: (4b ff ff ed|ed ff ff 4b) bl 1800094 <__tls_get_addr>
|
|
#pass
|