This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for -mcaller-super-interworking & stack arguments


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
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]