aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-03-21 22:52:06 +0000
committerPaul Brook <paul@codesourcery.com>2006-03-21 22:52:06 +0000
commit080eb7fec26633b01c91dde581974a2e9dd4eb63 (patch)
tree0471c3642726dcd64f6a9c28d351a6e58b832494 /gas
parent03aaa5932ec1a285ed94ddd86a5af380a3abeff9 (diff)
downloadgdb-080eb7fec26633b01c91dde581974a2e9dd4eb63.zip
gdb-080eb7fec26633b01c91dde581974a2e9dd4eb63.tar.gz
gdb-080eb7fec26633b01c91dde581974a2e9dd4eb63.tar.bz2
2006-03-21 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (md_apply_fix): Fix typo in offset mask.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-arm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a70bb80..10a88e5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 876eb5d..7b4887d 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;