summaryrefslogtreecommitdiffstats
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorRichard Henderson2014-04-30 22:49:11 +0200
committerRichard Henderson2014-06-23 16:32:27 +0200
commit2b45c3f5008bf760e628126f0344c1effbee0714 (patch)
tree03838224e3f7a2ca7995052f5fa557aecf456f3a /linux-user/main.c
parenttcg-ppc: Rename the tcg/ppc64 backend (diff)
downloadqemu-2b45c3f5008bf760e628126f0344c1effbee0714.tar.gz
qemu-2b45c3f5008bf760e628126f0344c1effbee0714.tar.xz
qemu-2b45c3f5008bf760e628126f0344c1effbee0714.zip
qemu/osdep: Remove the need for qemu_init_auxval
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>
Diffstat (limited to 'linux-user/main.c')
-rw-r--r--linux-user/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index a87c6f7ed4..14b7b948b7 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -3829,7 +3829,6 @@ int main(int argc, char **argv, char **envp)
module_call_init(MODULE_INIT_QOM);
- qemu_init_auxval(envp);
qemu_cache_utils_init();
if ((envlist = envlist_create()) == NULL) {