This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Split tls-macros.h into sysdeps directories
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org, Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>, David Miller <davem at davemloft dot net>, Thomas Schwinge <thomas at codesourcery dot com>, Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Date: Wed, 25 Jul 2012 09:32:28 -0500
- Subject: Re: Split tls-macros.h into sysdeps directories
- References: <Pine.LNX.4.64.1207102349380.27805@digraph.polyomino.org.uk>
On Tue, Jul 10, 2012 at 6:51 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> This patch splits the architecture-specific content of
> elf/tls-macros.h into separate files for each architecture in
> appropriate sysdeps directories, in line with the goal of reducing the
> number of architecture conditionals in common code and making libc
> targets more like ports targets in terms of having everything
> architecture-specific cleanly contained in sysdeps directories.
>
> Tested x86_64 and x86. Could architecture maintainers test / review
> for the other architectures? Given the presence of a common macro
> used for both powerpc32 and powerpc64, I put both powerpc32 and
> powerpc64 versions in a single file in sysdeps, but powerpc
> maintainers may wish to split things up further.
I tested this on PowerPC32 and PowerPC64 as checked in with
Adhemerval's patch on top and it doesn't cause any new regressions.
Ryan S. Arnold