This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for -mcaller-super-interworking & stack arguments
- From: Nick Clifton <nickc at redhat dot com>
- To: rsandifo at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 13 Aug 2004 20:41:47 +0100
- Subject: 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