forgot to include the change for "Make relative branches out of range

an error instead of a warning" from last commit
This commit is contained in:
Christian Groessler 2005-01-27 21:32:21 +00:00
parent f87a1e0cb2
commit befd69ef73

View File

@ -1435,8 +1435,8 @@ md_apply_fix3 (fixS *fixP, valueT *valP, segT segment ATTRIBUTE_UNUSED)
_("cannot branch to odd address"));
val /= 2;
if (val > 127 || val < -128)
as_warn_where (fixP->fx_file, fixP->fx_line,
_("relative jump out of range"));
as_bad_where (fixP->fx_file, fixP->fx_line,
_("relative jump out of range"));
*buf++ = val;
fixP->fx_no_overflow = 1;
fixP->fx_done = 1;