This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFC] ARM -- Implement ATPCS stack alignment rules
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: gcc-patches at gcc dot gnu dot org, rearnsha at arm dot com
- Date: Sat, 7 Sep 2002 21:05:45 -0700
- Subject: Re: [PATCH/RFC] ARM -- Implement ATPCS stack alignment rules
- Organization: Wasabi Systems, Inc.
- References: <20020906154010.V503@dr-evil.shagadelic.org>
On Fri, Sep 06, 2002 at 03:40:10PM -0700, Jason R Thorpe wrote:
> Anyway, to test, I'm going to enable TARGET_ATPCS in the arm-elf config
> and run the testsuite with the arm-elf sim.
Well, I ran this test, and there were no regressions. So, I guess I am
asking for approval for the patch, now.
> * config/arm/arm-protos.h (arm_get_frame_size): New prototype.
> * config/arm/arm.c (arm_get_frame_size): New function.
> (use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
> (arm_compute_initial_elimination_offset, arm_expand_prologue)
> (thumb_expand_prologue, thumb_expand_epilogue): Use arm_get_frame_size.
> * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
> (THUMB_INITIAL_ELIMINATION_OFFSET): Use arm_get_frame_size.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>