[PATCH, ARM] soft/hard-float preprocessor symbol

Chung-Lin Tang cltang@codesourcery.com
Mon Jul 26 05:01:00 GMT 2010


Richard Earnshaw wrote:
> The tests should be on arm_pcs_default.  If that has the value
> ARM_PCS_AAPCS_VFP then __ARM_PCS_VFP should be defined.  If it has the
> value ARM_PCS_AAPCS, then __ARM_PCS should be defined.  In other cases,
> I think neither should be defined (leaving the option open to create new
> pre-processor defines in future).
>
> That does leave nothing defined for the IWMMXT variant.  I'm not
> entirely sure what to do about that.  It appears that this just follows
> the base standard for calling, in which case __ARM_PCS probably should
> be defined, but I want to think that case through further before making
> that decision: there may be a subtlety that I've missed.
>
> R.
Hi Richard, I have update the patch as you have suggested.
Please see if this is okay.

Thanks,
Chung-Lin


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pcs2.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100726/571c3583/attachment.ksh>


More information about the Gcc-patches mailing list