This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] ppc64 specific sysdep.h changes
- From: Roland McGrath <roland at redhat dot com>
- To: "Steve Munroe" <sjmunroe at us dot ibm dot com>
- Cc: geoffk at geoffk dot org, libc-alpha at sources dot redhat dot com
- Date: Fri, 20 Sep 2002 14:04:44 -0700
- Subject: Re: [PATCH] ppc64 specific sysdep.h changes
> Because <sysdeps/powerpc/sysdep.h> still has powerpc32 specific stuff
> powerpc64 does not want.
>
> So two choices:
>
> Put everything in sysdeps/powerpc and user #if __WORDSIZE == 64 to
> discriminate.
>
> or
>
> Split <sysdeps/powerpc/sysdep.h> into <sysdeps/powerpc/sysdep.h> (common
> powerpc stuff) and <sysdeps/powerpc/powerpc32/sysdep.h>(powerpc32 specific
> stuff) then add <sysdeps/powerpc/powerpc64/sysdep.h> (powerpc64 specific
> stuff).
>
> It just seemed simpler in this case to use the #if.
We would prefer the latter. That is what the sysdeps/ structure is all about.