diff --git a/gas/ChangeLog b/gas/ChangeLog index a70bb80b3f..10a88e5398 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2006-03-21 Paul Brook + + * config/tc-arm.c (md_apply_fix): Fix typo in offset mask. + 2006-03-21 Sterling Augustine * config/tc-xtensa.c (enforce_three_byte_loop_align): New flag. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 876eb5d51d..7b4887da4e 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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;