This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Accessing HWCAP on PowerPC?
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Steve Munroe <sjmunroe at us dot ibm dot com>
- Cc: libc-alpha at sources dot redhat dot com, idr at us dot ibm dot com
- Date: Fri, 15 Oct 2004 17:11:18 +0200
- Subject: Re: Accessing HWCAP on PowerPC?
- References: <OF44ECCCCF.A34242E8-ON86256F2E.0014A8AF-86256F2E.0014EDEB@us.ibm.com>
Hi Steve,
_dl_hwcap is marked private so is not accessible outside of glibc.
That answers half of the question.
The Aux Vector is passed to main as the 4th parm.
That doesn't help a shared library that wants to get access to this
info without help from the main program (a very reasonable thing to
want to do).
Maybe there should be a global that points to the auxv?
Segher