This is the mail archive of the
mailing list for the GCC project.
Re: Question about ARM -mapcs-frame documentation
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: gcc at gcc dot gnu dot org
- Date: 11 Oct 2003 21:32:18 -0700
- Subject: Re: Question about ARM -mapcs-frame documentation
- References: <firstname.lastname@example.org>
Ian Lance Taylor <email@example.com> writes:
> The documentation for the ARM -mapcs-frame option says this:
And another question. The ARM backend code supports TARGET_ATPCS, and
it is used in a few places. But there is no option for it in
TARGET_SWITCHES, which means that there is no way to control it. It's
turned on automatically for TARGET_IWMMXT, and it's turned on for the
arm*-*-netbsdelf* target. The latter decision is quite reasonable.
The former is, in my opinion, somewhat questionable.
The only effect of TARGET_ATPCS on the compiler appears to be to
change the definition of which types are returned in memory, and to
require that the stack be aligned on a 64-bit boundary. Both of these
requirements are from the ATPCS document. The former requirement
means that the ATPCS code does not completely interoperate with
Should there be -matpcs and -mno-atpcs options?