getauxv and ARMv7 platform detection

Florian Weimer fweimer@redhat.com
Tue May 21 06:31:00 GMT 2019


* Jeffrey Walton:

> On Tue, May 21, 2019 at 2:03 AM Florian Weimer <fweimer@redhat.com> wrote:
>>
>> * Jeffrey Walton:
>>
>> > My question is, how do we use getauxval to detect ARMv7 platforms?
>>
>> What is the actual problem you are trying to solve?
>
> I'm trying to detect if the platform is ARMv7 at runtime.

Yes, but why?  Just to print a diagnostic?

Thanks,
Florian



More information about the Libc-help mailing list