auxv: convert auxiliary vector into an array; define getauxval()

Convert the ELF auxiliary vector into an array.  Define getauxval() as
an inline accessor to that array.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
3 files changed