mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +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.
21 lines
579 B
Makefile
21 lines
579 B
Makefile
#source: plt1.s
|
|
#as: -a32
|
|
#objdump: -dr
|
|
#target: powerpc*-*-*
|
|
|
|
.*
|
|
|
|
Disassembly of section .text:
|
|
|
|
0+ <_start>:
|
|
0: (42 9f 00 05|05 00 9f 42) bcl 20,4\*cr7\+so,4 .*
|
|
4: (7f c8 02 a6|a6 02 c8 7f) mflr r30
|
|
8: (3f de 00 00|00 00 de 3f) addis r30,r30,0
|
|
(a|8): R_PPC_REL16_HA _GLOBAL_OFFSET_TABLE_\+0x(6|4)
|
|
c: (3b de 00 0.|0. 00 de 3b) addi r30,r30,.*
|
|
(e|c): R_PPC_REL16_LO _GLOBAL_OFFSET_TABLE_\+0x(a|8)
|
|
10: (48 00 00 01|01 00 00 48) bl 10 .*
|
|
10: R_PPC_PLTREL24 _exit
|
|
14: (48 00 00 00|00 00 00 48) b 14 .*
|
|
14: R_PPC_REL24 _start
|