Displaying 1 result from an estimated 1 matches for "elf_aux_info".
2019 Aug 18
1
1.3.3: powerpc portability problems
...sed some portability
problems.
libFLAC/cpu.c assumes that the <sys/auxv.h> header and the getauxval()
function are universally available on PowerPC platforms. They are not.
On FreeBSD/powerpc, <sys/auxv.h> is available, but getauxval() is
not. Equivalent functionality is provided by elf_aux_info().
On OpenBSD/powerpc, neither is available, nor any equivalent.
I have attached a patch by Jeremie Courreges-Anglas which adds
proper autoconf checks to detect <sys/auxv.h> and getauxval(). This
could be extended to cover elf_aux_info().
For FreeBSD/powerpc64, I have been told the compil...