summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'arm-dis.c')
-rw-r--r--arm-dis.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arm-dis.c b/arm-dis.c
index a84d91b48..1e027efc7 100644
--- a/arm-dis.c
+++ b/arm-dis.c
@@ -1556,6 +1556,11 @@ print_insn_arm (pc, info)
}
is_thumb = force_thumb;
+ if (pc & 1)
+ {
+ is_thumb = 1;
+ pc &= ~(bfd_vma) 1;
+ }
#if 0
if (!is_thumb && info->symbols != NULL)