This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3] powerpc64*: fix the order of implied sysdeps directories
On Thu, 08 Mar 2018, Andreas Schwab wrote:
>On Mär 07 2018, "Gabriel F. T. Gomes" <gabriel@inconstante.eti.br> wrote:
>
>> Moving the whole of powerpc64 to powerpc64-common, leaves powerpc64 empty,
>> which I can then fill with files that are specific to big-endian.
>
>Ok, how about this then: put the BE file in .../powerpc64/be, the LE
>files in .../powerpc64/le, and keep the common files in .../powerpc64?
While I can see the advantage of keeping the common files in .../powerpc64
(i.e.: most of the renamings in this patch disappear), I am not sure about
changing the name of the machine directories. Notice that the configure
script will guess the name of the machine from the compiler triplet, so
big-endian automatically brings .../powerpc64, and little-endian
brings .../powerpc64le.
So, moving machine directories to .../powerpc64/{be,le}, means that
something needs to convert powerpc64 (from the triplet) to powerpc64/be
and powerpc64le to powerpc64/le. Moreover, I think that this will
implicitly imply ".../powerpc64" for both big-endian and little-endian.
With that in mind, would you still suggest this change (maybe you had
something else in mind, which I couldn't grasp)?