aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-05-11 10:01:41 +0000
committerNick Clifton <nickc@redhat.com>2001-05-11 10:01:41 +0000
commit15f65ae41209a87410a3b2734985db016e4e8905 (patch)
tree997ebc35cbcf5f727a14a7c81c1e6c81b7a0c55e /gas/config/tc-arm.c
parent1548c54f2ec8d0b0f64c0f41f9ec2345b8bbd313 (diff)
downloadgdb-15f65ae41209a87410a3b2734985db016e4e8905.zip
gdb-15f65ae41209a87410a3b2734985db016e4e8905.tar.gz
gdb-15f65ae41209a87410a3b2734985db016e4e8905.tar.bz2
When truncating an aligned block, ensure that the low order bits of the
alignment are preserved.
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 59e8d71..b394faa 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -8816,7 +8816,7 @@ arm_handle_align (fragP)
fix = 0;
if (bytes > MAX_MEM_FOR_RS_ALIGN_CODE)
- bytes = MAX_MEM_FOR_RS_ALIGN_CODE;
+ bytes &= MAX_MEM_FOR_RS_ALIGN_CODE;
if (fragP->tc_frag_data)
{