From: Nick Clifton Date: Mon, 14 Aug 2000 21:20:03 +0000 (+0000) Subject: Allow "bx pc" in ARM mode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=046b3b54ee25c1e6d3af4fc24d70778d413a2877;p=binutils-gdb.git Allow "bx pc" in ARM mode. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 61f044f4789..f76f4825e09 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2000-08-14 Nick Clifton + + * config/tc-arm.c (do_bx): Allow "bx pc". + 2000-08-14 Jim Wilson * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 5e9c465eb0d..e9bdc33dc0a 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); }