This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Accessing HWCAP on PowerPC?
- From: Ian Romanick <idr at us dot ibm dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 12 Oct 2004 15:25:52 -0700
- Subject: Accessing HWCAP on PowerPC?
I was directed here by benh. I really hope someone here has an answer
as I've spent a couple hours searching around the web and the glibc
2.3.3 source. Simply, how do I access AT_HWCAP from a library (i.e.,
can't get the auxvec passed to main)?
I tried just accessing _dl_hwcap, but the link fails. Do I just need
some "decorations" on the extern? Am I barking up the right tree?
Thanks.