Allow "bx pc" in ARM mode.
This commit is contained in:
parent
fa2255cb6b
commit
046b3b54ee
|
@ -1,3 +1,7 @@
|
||||||
|
2000-08-14 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-arm.c (do_bx): Allow "bx pc".
|
||||||
|
|
||||||
2000-08-14 Jim Wilson <wilson@cygnus.com>
|
2000-08-14 Jim Wilson <wilson@cygnus.com>
|
||||||
|
|
||||||
* config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
|
* config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
|
||||||
|
|
|
@ -3589,8 +3589,7 @@ do_bx (str, flags)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reg == REG_PC)
|
/* Note - it is not illegal to do a "bx pc". Useless, but not illegal. */
|
||||||
inst.error = BAD_PC;
|
|
||||||
|
|
||||||
end_of_line (str);
|
end_of_line (str);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue