This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ARM/hard_vfp_4_4_branch] Fix VFP ABI usage for libgcc functions
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 12 May 2009 11:51:49 +0100
- Subject: Re: [ARM/hard_vfp_4_4_branch] Fix VFP ABI usage for libgcc functions
- References: <Pine.LNX.4.64.0905112206180.32166@digraph.polyomino.org.uk>
On Mon, 2009-05-11 at 22:10 +0000, Joseph S. Myers wrote:
> 2009-05-11 Joseph Myers <joseph@codesourcery.com>
>
> * config/arm/arm.c (arm_handle_pcs_attribute): New.
> (arm_get_pcs_model): Pass attribute arguments to
> arm_pcs_from_attribute.
> (arm_init_cumulative_args): Use base AAPCS for conversions
> from
> floating-point types to DImode.
> (arm_attribute_table): Add pcs attribute.
> (arm_handle_pcs_attribute): New.
> * config/arm/bpabi.h (DECLARE_LIBRARY_RENAMES): When renaming
> conversions from floating-point types to DImode, also declare
> them
> to use base AAPCS and declare functions they call to use base
> AAPCS and their RTABI names.
>
> testsuite:
> 2009-05-11 Joseph Myers <joseph@codesourcery.com>
>
> * gcc.target/arm/eabi1.c: Do not skip for non-base ABI
> variants.
> (PCS): Define macro to use base AAPCS.
> (decl_float, __aeabi_d2f, __aeabi_f2d): Use PCS macro.
This is OK. On the issue of merging from trunk, it won't be to this
branch, since this branch is intended to track gcc-4.4 (yes, I'm a bit
behind on my merging...).
We may need to create a separate branch that does track trunk, it will
depend on how soon I can get to the point where I'm ready to merge and
how far trunk has diverged from this branch.
R.