This is the mail archive of the libc-alpha@sources.redhat.com 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: Accessing HWCAP on PowerPC?


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



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