mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
776fc41826
* ppc.h (ppc_parse_cpu): Update prototype. opcodes/ * ppc-dis.c (ppc_parse_cpu): Add "sticky" param. Track bits set from ppc_opts.sticky in it. Delete "retain_mask". (powerpc_init_dialect): Choose default dialect from info->mach before parsing -M options. Handle more bfd_mach_ppc variants. Update common default to power7. gas/ * config/tc-ppc.c (sticky): New var. (md_parse_option, ppc_machine): Update ppc_parse_cpu calls. gas/testsuite/ * gas/ppc/astest2.d: Pass -Mppc to objdump. ld/testsuite/ * ld-powerpc/plt1.d: Update for default "at" branch hints. * ld-powerpc/tlsexe.d: Likewise. * ld-powerpc/tlsexetoc.d: Likewise. * ld-powerpc/tlsopt1.d: Likewise. * ld-powerpc/tlsopt1_32.d: Likewise. * ld-powerpc/tlsopt2.d: Likewise. * ld-powerpc/tlsopt2_32.d: Likewise. * ld-powerpc/tlsopt4.d: Likewise. * ld-powerpc/tlsopt4_32.d: Likewise. * ld-powerpc/tlsso.d: Likewise. * ld-powerpc/tlstocso.d: Likewise.
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 6d ff f4|f4 ff 6d 38) addi r3,r13,-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
|