aboutsummaryrefslogtreecommitdiff
path: root/sparc-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'sparc-dis.c')
-rw-r--r--sparc-dis.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sparc-dis.c b/sparc-dis.c
index 597dc8a703..2be874ac94 100644
--- a/sparc-dis.c
+++ b/sparc-dis.c
@@ -2887,7 +2887,9 @@ print_insn_sparc (memaddr, info)
{
const char *name;
- if (info->mach == bfd_mach_sparc_v9)
+ if ((info->mach == bfd_mach_sparc_v8plusa) ||
+ ((info->mach >= bfd_mach_sparc_v9) &&
+ (info->mach <= bfd_mach_sparc_v9b)))
name = sparc_decode_asi_v9 (X_ASI (insn));
else
name = sparc_decode_asi_v8 (X_ASI (insn));