aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-08-14 21:20:03 +0000
committerNick Clifton <nickc@redhat.com>2000-08-14 21:20:03 +0000
commit046b3b54ee25c1e6d3af4fc24d70778d413a2877 (patch)
tree5af9edcd2b5235d38a224151c7d461ac9e659e05 /gas/config
parentfa2255cb6bd0e86e547f64660f09db56365edd9f (diff)
downloadgdb-046b3b54ee25c1e6d3af4fc24d70778d413a2877.zip
gdb-046b3b54ee25c1e6d3af4fc24d70778d413a2877.tar.gz
gdb-046b3b54ee25c1e6d3af4fc24d70778d413a2877.tar.bz2
Allow "bx pc" in ARM mode.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 5e9c465..e9bdc33 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -3589,8 +3589,7 @@ do_bx (str, flags)
return;
}
- if (reg == REG_PC)
- inst.error = BAD_PC;
+ /* Note - it is not illegal to do a "bx pc". Useless, but not illegal. */
end_of_line (str);
}