Home GnuPG

Use FreeBSD's elf_aux_info for detecting ARM HW features

Description

Use FreeBSD's elf_aux_info for detecting ARM HW features

* configure.ac: Add function check for 'elf_aux_info'.
* src/hwf-arm.c [HAVE_ELF_AUX_INFO]: Include 'sys/auxv.h'.
[HAVE_ELF_AUX_INFO && !HAVE_GETAUXVAL] (HAVE_GETAUXVAL)
(getauxval): New.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Apr 9 2019, 7:04 PM
Parents
rC6812a2c5bd2d: Use getauxval system function for detecting ARM HW features
Branches
Unknown
Tags
Unknown