This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: getauxv and ARMv7 platform detection
- From: Florian Weimer <fweimer at redhat dot com>
- To: Jeffrey Walton <noloader at gmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Tue, 21 May 2019 08:31:41 +0200
- Subject: Re: getauxv and ARMv7 platform detection
- References: <CAH8yC8=ULU8tz-XrQvy2gnJ2B5tgSj-s-aMpd5m8E2wmTR4sRw@mail.gmail.com> <87zhngfip7.fsf@oldenburg2.str.redhat.com> <CAH8yC8mSBVRBkh0iUbJzcB=b3NdqzbphrZT1RJxuCh19ra6iLQ@mail.gmail.com>
* 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