From d6787ef95c1257b1ed49364768608d6f91a98b23 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 5 Aug 2013 16:11:07 +0000 Subject: gas/ * config/tc-sparc.c (sparc_arch_types): Add leon. (sparc_arch): Move sparc4 around and add leon. (sparc_target_format): Document -Aleon. * doc/c-sparc.texi: Likewise. include/ * opcode/sparc.h (sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_LEON. opcodes/ * sparc-dis.c (compute_arch_mask): Set SPARC_OPCODE_ARCH_LEON bit for bfd_mach_sparc. * sparc-opc.c (MASK_LEON): Define. (v6, v6notlet, v7, v8, v6notv9): Add MASK_LEON. (letandleon): New macro. (v9andleon): Likewise. (sparc_opc): Add leon. (umac): Enable for letandleon. (smac): Likewise. (casa): Enable for v9andleon. (cas): Likewise. (casl): Likewise. --- opcodes/sparc-dis.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'opcodes/sparc-dis.c') diff --git a/opcodes/sparc-dis.c b/opcodes/sparc-dis.c index fcbf89d..197126c 100644 --- a/opcodes/sparc-dis.c +++ b/opcodes/sparc-dis.c @@ -223,7 +223,8 @@ compute_arch_mask (unsigned long mach) { case 0 : case bfd_mach_sparc : - return SPARC_OPCODE_ARCH_MASK (SPARC_OPCODE_ARCH_V8); + return (SPARC_OPCODE_ARCH_MASK (SPARC_OPCODE_ARCH_V8) + | SPARC_OPCODE_ARCH_MASK (SPARC_OPCODE_ARCH_LEON)); case bfd_mach_sparc_sparclet : return SPARC_OPCODE_ARCH_MASK (SPARC_OPCODE_ARCH_SPARCLET); case bfd_mach_sparc_sparclite : -- cgit v1.1