aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-bfin.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-10-08 10:05:28 +0000
committerNick Clifton <nickc@redhat.com>2007-10-08 10:05:28 +0000
commit33ffbed979d0803e6379a3bc80d613e0d07d7c9c (patch)
tree0a00a14511d8ef6b128d1d9fdb54bb642e9091a7 /gas/config/tc-bfin.c
parentc66487f8a5c41c1857be6d86cc44882fabe40e67 (diff)
downloadgdb-33ffbed979d0803e6379a3bc80d613e0d07d7c9c.zip
gdb-33ffbed979d0803e6379a3bc80d613e0d07d7c9c.tar.gz
gdb-33ffbed979d0803e6379a3bc80d613e0d07d7c9c.tar.bz2
PR gas/5136
* config/tc-bfin.c (md_apply_fix): Fix error message.
Diffstat (limited to 'gas/config/tc-bfin.c')
-rw-r--r--gas/config/tc-bfin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c
index bbc39f2..6f85005 100644
--- a/gas/config/tc-bfin.c
+++ b/gas/config/tc-bfin.c
@@ -648,7 +648,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
case BFD_RELOC_BFIN_16_IMM:
case BFD_RELOC_16:
if (value < -0x8000 || value >= 0x7fff)
- as_bad_where (fixP->fx_file, fixP->fx_line, "rel too far BFD_RELOC_8");
+ as_bad_where (fixP->fx_file, fixP->fx_line, "rel too far BFD_RELOC_16");
md_number_to_chars (where, value, 2);
break;