crypto/armcap.c, crypto/ppccap.c: stricter use of getauxval()
authorRichard Levitte <levitte@openssl.org>
Wed, 16 Jan 2019 05:31:15 +0000 (06:31 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 16 Jan 2019 17:00:48 +0000 (18:00 +0100)
commit5f40dd158cbfa0a3bd86c32f7a77fec8754bb245
tree7cc3ef0532ebf4db6cf81d1c1e5a4262c927688c
parentaefb980c45134d84f1757de1a9c61d699c8a7e33
crypto/armcap.c, crypto/ppccap.c: stricter use of getauxval()

Having a weak getauxval() and only depending on GNU C without looking
at the library we build against meant that it got picked up where not
really expected.

So we change this to check for the glibc version, and since we know it
exists from that version, there's no real need to make it weak.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/8028)
crypto/armcap.c
crypto/ppccap.c