Accessing HWCAP on PowerPC?

Segher Boessenkool segher@kernel.crashing.org
Fri Oct 15 15:19:00 GMT 2004


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



More information about the Libc-alpha mailing list