[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5506AA06.5070204@jonmasters.org>
Date: Mon, 16 Mar 2015 06:01:42 -0400
From: Jon Masters <jonathan@...masters.org>
To: loody <miloody@...il.com>,
Catalin Marinas <catalin.marinas@....com>
CC: LKML <linux-kernel@...r.kernel.org>
Subject: Re: some question about aarch32 for ARM64
On 2/24/15, 12:19 AM, loody wrote:
>>> PS:Below is my compile error message:
>>> #aarch64-linux-gnu-gcc -mabi=ilp32 test.c
>>
>> -mabi=ilp32 is entirely different from an AArch32 compiler. The above
>> still generates AArch64 but with the ILP32 ABI (sizeof int/long/pointer
>> is 32-bit).
> so per your explanation, AArch32 binary could be created by any
> arm-linux-gnu-gcc which support armv7 and previous instructions.
> And -mabi=ilp32 is still aarch64 but with ILP32 ABI.
> appreciate your kind help ^^
This is the correct summary.
Jon.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists