This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]