PR gas/5136

* config/tc-bfin.c (md_apply_fix): Fix error message.
This commit is contained in:
Nick Clifton 2007-10-08 10:05:28 +00:00
parent c66487f8a5
commit 33ffbed979
2 changed files with 6 additions and 1 deletions

View 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

View 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;