[arm] hookize FUNCTION_ARG &co.

Richard Earnshaw rearnsha@arm.com
Tue Aug 31 17:21:00 GMT 2010


On Tue, 2010-08-31 at 09:43 -0700, Nathan Froyd wrote:
> This patch hookizes FUNCTION_ARG and related macros for the arm
> backend.  There's the almost-standard assortment of const-ization hunks
> scattered throughout.
> 
> Tested on arm-eabi, no new non-format related errors.  I plan to commit
> this as obvious after waiting a week for comments.
> 
> -Nathan
> 
> 	* config/arm/arm-protos.h (arm_function_arg_advance): Delete.
> 	(arm_function_arg): Delete.
> 	(arm_needs_doubleword_align): Take a const_tree.
> 	* config/arm/arm.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
> 	* config/arm/arm.c (aapcs_select_call_coproc): Take a const_tree.
> 	(aapcs_layout_arg, arm_needs_doubleword_align): Likewise.
> 	(arm_function_arg): Make static.  Take a const_tree and a bool.
> 	(arm_function_arg_advance): Likewise.
> 	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.

This is OK, provided it's been checked for warnings (or I'll have the
native bootstrap people on my back again...).

R.




More information about the Gcc-patches mailing list