AArch32 gcc mode
Andrew Haley
aph@redhat.com
Tue Oct 28 08:34:00 GMT 2014
Hi,
On 28/10/14 05:29, Slava Barinov wrote:
> I work now with ARM64 CPUs and wanted to check AArch32 mode, I can see several mentions in GCC
> source code but can't find flag which switches on AArch32 code generation.
>
> Is it possible to make current GCC generate it?
3.17.1 AArch64 Options
These options are defined for AArch64 implementations:
-mabi=name
Generate code for the specified data model. Permissible values are
‘ilp32’ for SysV-like data model where int, long int and pointer
are 32-bit, and ‘lp64’ for SysV-like data model where int is
32-bit, but long int and pointer are 64-bit.
The default depends on the specific target configuration. Note
that the LP64 and ILP32 ABIs are not link-compatible; you must
compile your entire program with the same ABI, and link with a
compatible set of libraries.
https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/AArch64-Options.html#AArch64-Options
Andrew.
More information about the Gcc-help
mailing list