diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2013-08-05 16:11:07 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@libertysurf.fr> | 2013-08-05 16:11:07 +0000 |
commit | d6787ef95c1257b1ed49364768608d6f91a98b23 (patch) | |
tree | da5f2e79f2e3157b71e50df23748202865b4c672 /opcodes/sparc-dis.c | |
parent | 303a26609af2255a33fee370d6f2c18d87d2b848 (diff) | |
download | fsf-binutils-gdb-d6787ef95c1257b1ed49364768608d6f91a98b23.zip fsf-binutils-gdb-d6787ef95c1257b1ed49364768608d6f91a98b23.tar.gz fsf-binutils-gdb-d6787ef95c1257b1ed49364768608d6f91a98b23.tar.bz2 |
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.
Diffstat (limited to 'opcodes/sparc-dis.c')
-rw-r--r-- | opcodes/sparc-dis.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 : |