fix bug detecting pc-rel overflow

This commit is contained in:
Nick Clifton 2000-03-19 22:09:23 +00:00
parent c5201926ef
commit 114241553a
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-03-19 Nick Clifton <nickc@cygnus.com>
* config/tc-arm.c (md_apply_fix3): Fix bug detectng overflow of pc
relative branches.
2000-03-17 Thomas de Lellis <tdel@windriver.com>
* config/tc-arm.c (do_t_adr): Flag "adr Rd,label"

View File

@ -5608,8 +5608,7 @@ md_apply_fix3 (fixP, val, seg)
value += SEXT24 (newval);
if ((value & 0xff000000UL) != 0
&& (fixP->fx_done == 0
|| ((value & 0xff000000UL) != 0xff000000UL)))
&& ((value & 0xff000000UL) != 0xff000000UL))
as_bad_where (fixP->fx_file, fixP->fx_line,
_("out of range branch"));