Improve elf_aux_info detection on FreeBSD/OpenBSD
A free file archiver for extremely high compression
Brought to you by:
ipavlov
Hello,
The elf_aux_info() function appeared in FreeBSD 12.0 and was first available in OpenBSD 7.6 (source: https://man.openbsd.org/elf_aux_info.3).
Please find the attached patch to use elf_aux_info when available on FreeBSD/OpenBSD.
Also inspired by OpenSSL: https://github.com/openssl/openssl/blob/master/crypto/armcap.c#L77-L94