[arm] Fix big-endian function argument.
Paul Brook
paul@codesourcery.com
Thu Jul 7 21:43:00 GMT 2005
The attached patch fixes integer function arguments < 4 bytes passed in memory
on big-endian arm targets. DEFAULT_FUNCTION_ARG_PADDING returns an enum, not
true/false.
Tested with cross to arm-none-elf/-mbig-endian.
Applied to mainline and csl-arm-branch.
4.0 is not effected.
Paul
2005-07-07 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_pad_arg_upward): Compare return value of
DEFAULT_FUNCTION_ARG_PADDING to upward.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.arm_pad_up
Type: text/x-diff
Size: 1149 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050707/55282635/attachment.bin>
More information about the Gcc-patches
mailing list