OSDN Git Service

PR gas/5136
authorNick Clifton <nickc@redhat.com>
Mon, 8 Oct 2007 10:05:28 +0000 (10:05 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 8 Oct 2007 10:05:28 +0000 (10:05 +0000)
* config/tc-bfin.c (md_apply_fix): Fix error message.

gas/ChangeLog
gas/config/tc-bfin.c

index b3f610e..d327700 100644 (file)
@@ -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
index bbc39f2..6f85005 100644 (file)
@@ -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;