From 1444906a28a43582a1e492b69a0ced5b541ba57b Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 23 Nov 2012 03:28:09 +0000 Subject: [PATCH] include/opcode/ * 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. --- include/opcode/ChangeLog | 4 ++++ include/opcode/ppc.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 5e77fbdea..22b5c63fe 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2012-11-23 Alan Modra + + * ppc.h (ppc_parse_cpu): Update prototype. + 2012-10-14 John David Anglin * hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index 2e789d6ff..e57b118b0 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -400,6 +400,6 @@ struct powerpc_macro extern const struct powerpc_macro powerpc_macros[]; extern const int powerpc_num_macros; -extern ppc_cpu_t ppc_parse_cpu (ppc_cpu_t, const char *); +extern ppc_cpu_t ppc_parse_cpu (ppc_cpu_t, ppc_cpu_t *, const char *); #endif /* PPC_H */ -- 2.43.5