This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/AARCH64 6/6] Support ILP32 multi-lib
- From: Andrew Pinski <pinskia at gmail dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: Yufeng Zhang <Yufeng dot Zhang at arm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Andrew Pinski <apinski at cavium dot com>
- Date: Mon, 9 Dec 2013 17:45:25 -0800
- Subject: Re: [PATCH/AARCH64 6/6] Support ILP32 multi-lib
- Authentication-results: sourceware.org; auth=none
- References: <1386105892-2379-1-git-send-email-apinski at cavium dot com> <1386105892-2379-7-git-send-email-apinski at cavium dot com> <52A62428 dot 3000901 at arm dot com> <Pine dot LNX dot 4 dot 64 dot 1312092256290 dot 22134 at digraph dot polyomino dot org dot uk>
On Mon, Dec 9, 2013 at 2:57 PM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Mon, 9 Dec 2013, Yufeng Zhang wrote:
>
>> > -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64.so.1"
>> > +#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux%{mabi=ilp32:32}-aarch64.so.1"
>>
>> To be more explicit and consistent, the name of the ILP32 loader shall have
>> 'ilp32' instead of '32'. The extension field shall be appended to 'aarch64',
>> separated by '_', and we should probably add the big-endian name at the same
>> time. With the extension fields sorted alphabetically, GLIBC_DYNAMIC_LINKER
>> can be defined as:
>
> What's the use of a different name for big-endian? It's not as if Linux
> has ever supported running processes with a different endianness from the
> kernel....
And it is unrelated change to ILP32. Also we (Cavium) have big-endian
Linux running in the wild without the _be.
>
> --
> Joseph S. Myers
> joseph@codesourcery.com