Warn abouyt "bx pc" not being very useful.

This commit is contained in:
Nick Clifton 2000-08-16 17:48:50 +00:00
parent be040dbb5b
commit 70485b5c18
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-08-16 Nick Clifton <nickc@redhat.com>
* config/tc-arm.c (do_bx): Warn about "bx px" not being veryu
useful.
2000-08-14 Will Cohen <wcohen@redhat.com>
* config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.

View File

@ -3590,6 +3590,8 @@ do_bx (str, flags)
}
/* Note - it is not illegal to do a "bx pc". Useless, but not illegal. */
if (reg == REG_PC)
as_tsktsk (_("Use of r15 in bx in ARM mode is not really useful"));
end_of_line (str);
}