summaryrefslogtreecommitdiff
path: root/util/getauxval.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-23qemu/osdep: Remove the need for qemu_init_auxvalRichard Henderson1-12/+39
Instead of getting backup auxv data from the env pointer given to main, read it from /proc/self/auxv. We can do this at any time, so we're not tied to any ordering wrt a call to qemu_init_auxval from main. Tested-by: Tom Musta <tommusta@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
2013-11-30osdep: Create qemu_getauxval and qemu_init_auxvalRichard Henderson1-0/+74
Abstract away dependence on a system implementation of getauxval. Signed-off-by: Richard Henderson <rth@twiddle.net>