arm.c (thumb_output_function_prologue): Calculate offset in bytes, not words.

2005-07-07  Khem Raj  <kraj@mvista.com>

	* config/arm/arm.c (thumb_output_function_prologue): Calculate offset
	in bytes, not words.

From-SVN: r101740
This commit is contained in:
Khem Raj 2005-07-07 22:14:07 +00:00 committed by Paul Brook
parent efd4dc1a15
commit 1a59548be6
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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;