diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fc4e8eb5bd3..128a7d2dae8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-07-07 Khem Raj <kraj@mvista.com> + + * config/arm/arm.c (thumb_output_function_prologue): Calculate offset + in bytes, not words. + 2005-07-07 Paul Brook <paul@codesourcery.com> * config/arm/arm.c (arm_pad_arg_upward): Compare return value of diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 96d4add23df..31fa08efaa4 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -13491,7 +13491,7 @@ thumb_output_function_prologue (FILE *f, HOST_WIDE_INT size ATTRIBUTE_UNUSED) if (l_mask) { thumb_pushpop (f, l_mask, 1, &cfa_offset, l_mask); - offset = bit_count (l_mask); + offset = bit_count (l_mask) * UNITS_PER_WORD; } else offset = 0; |