This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] dl-procinfo and HWCAP_IMPORTANT support for powerpc
- From: Steve Munroe <sjmunroe at us dot ibm dot com>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, Christoph Hellwig <hch at lst dot de>, libc-alpha at sources dot redhat dot com
- Date: Fri, 16 Dec 2005 09:38:31 -0600
- Subject: Re: [RFC] dl-procinfo and HWCAP_IMPORTANT support for powerpc
Ulrich Drepper <drepper@redhat.com> wrote on 12/15/2005 10:01:56 PM:
> Steve Munroe wrote:
> > Well the base mechanism can work with either (AT_HWCAP or AT_PLATFORM).
> > But for powerpc, AT_PLATFORM is not included in the Aux vector. So
until
> > the powerpc kernel supports AT_PLATFORM there is not much point.
>
> And this is the justification to add something which will go away once
> the real solution is available? That's just plain stupid.
>
Which is stupid (using AT_HWCAP or AT_PLATFORM)?
I am just trying to follow the directions that Roland gave, and that was to
use AT_HWCAP. As far as I can tell AT_PLATFORM only really works for i386
and may be arm. x86_64 jams in the const string "x86_64" which is not
applicable to this problem. The vast majority of platforms (including
powerpc) don't support AT_PLATFORM. The AT_HWCAP support for the current
need is in 2.6.15.
I worked with the cards I was dealt.
Steven J. Munroe
Linux on Power Toolchain Architect
IBM Corporation, Linux Technology Center