2006-03-21 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Tue, 21 Mar 2006 22:45:46 +0000 (22:45 +0000)
committerPaul Brook <paul@codesourcery.com>
Tue, 21 Mar 2006 22:45:46 +0000 (22:45 +0000)
* gas/config/tc-arm.c (md_apply_fix): Fix typo in offset mask.

ChangeLog.csl
gas/config/tc-arm.c

index 643ea32..6c752c7 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-21  Paul Brook  <paul@codesourcery.com>
+
+       * gas/config/tc-arm.c (md_apply_fix): Fix typo in offset mask.
+
 2006-03-21  Nathan Sidwell  <nathan@codesourcery.com>
 
        * gas/config/tc-m68k.c (find_cf_chip): Merge into ...
index 9a42d84..5af2cd4 100644 (file)
@@ -11964,7 +11964,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;