On 1/24/19 10:24 PM, Steve Ellcey wrote:
> On Thu, 2019-01-24 at 16:25 +0100, Martin Liška wrote:
>>
>>>
>>>> +ix86_get_multilib_abi_name (void)
>>>> +{
>>>> +  if (!(TARGET_64BIT_P (ix86_isa_flags)))
>>>> +    return "i386";
>>>> +  else if (TARGET_X32_P (ix86_isa_flags))
>>>> +    return "x32";
>>>> +  else
>>>> +    return "x86_64";
>>>> +}
> 
> 
> I'd like to get an aarch64 version of this target function into GCC 9.*
> too in order to support ILP32/LP64 on aarch64.  It doesn't necessarily
> have to be part of this patch though, I could submit one later if you
> do not want to add it here.

Sure, feel free to provide a patch candidate. Once the patch is installed,
I'm planning to document format of the pre-include header file.

Martin

> 
> Aarch64 ILP32 support is in GCC and binutils but not GLIBC (except on a
> branch), I am thinking the Aarch64 version of this function would
> return "aarch64" or "aarch64_ilp32".  Perhaps we should also have
> "aarch64_be" and "aarch64_be_ilp32" for big endian ABI's?
> 
> Steve Ellcey
> sell...@marvell.com
> 

Reply via email to