Patch for -mcaller-super-interworking & stack arguments

Nick Clifton nickc@redhat.com
Fri Aug 13 19:50:00 GMT 2004


Hi Richard,

>	* config/arm/arm.h (CALLER_INTERWORKING_SLOT_SIZE): New macro.
>	(FRAME_POINTER_REQUIRED): True if CALLER_INTERWORKING_SLOT_SIZE > 0.
>	* config/arm/arm.c (arm_get_frame_offsets): Add
>	CALLER_INTERWORKING_SLOT_SIZE bytes to the soft frame pointer offset.
>	* config/arm/arm.md (*call_reg_thumb, *call_value_reg_thumb): Use
>	_interwork_fp_call_via_rN if some arguments are passed on the stack.
>	* config/arm/lib1funcs.asm (_arm_fp_return): New function.
>	(interwork): Add _interwork_fp_call_via_rN() functions.

Approved - please apply.

Note - it should be possible to create a test in say gcc.misc-tests
which checks this functionality and makes sure that it continues to
work.  What do you think ?

Cheers
  Nick
  



More information about the Gcc-patches mailing list