2006-03-21 Paul Brook <paul@codesourcery.com>

* config/tc-arm.c (md_apply_fix): Fix typo in offset mask.
This commit is contained in:
Paul Brook 2006-03-21 22:52:06 +00:00
parent 03aaa5932e
commit 080eb7fec2
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-03-21 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (md_apply_fix): Fix typo in offset mask.
2006-03-21 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.c (enforce_three_byte_loop_align): New flag.

View File

@ -11925,7 +11925,7 @@ md_apply_fix (fixS * fixP,
if (fixP->fx_done || !seg->use_rela_p)
{
newval = md_chars_to_number (buf, THUMB_SIZE);
newval |= ((value & 0x2e) << 2) | ((value & 0x40) << 3);
newval |= ((value & 0x3e) << 2) | ((value & 0x40) << 3);
md_number_to_chars (buf, newval, THUMB_SIZE);
}
break;