aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-08-16 17:48:50 +0000
committerNick Clifton <nickc@redhat.com>2000-08-16 17:48:50 +0000
commit70485b5c189916d86cca419c60229858f00d6799 (patch)
tree612d7b3eda432ff15036646438ea3738e782f3c4 /gas/config
parentbe040dbb5b936d7a56efe2a92cf36efb89089557 (diff)
downloadgdb-70485b5c189916d86cca419c60229858f00d6799.zip
gdb-70485b5c189916d86cca419c60229858f00d6799.tar.gz
gdb-70485b5c189916d86cca419c60229858f00d6799.tar.bz2
Warn abouyt "bx pc" not being very useful.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index e9bdc33..5ca0815 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -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);
}