aboutsummaryrefslogtreecommitdiff
path: root/gas
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
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')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-bfin.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b3f610e..d327700 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-08 Nick Clifton <nickc@redhat.com>
+
+ PR gas/5136
+ * config/tc-bfin.c (md_apply_fix): Fix error message.
+
2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Check the first 2 8bit
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;