]> git.proxmox.com Git - mirror_qemu.git/commit - linux-user/qemu.h
linux-user: save auxv length
authorAlexander Graf <agraf@suse.de>
Sat, 28 Jan 2012 19:12:14 +0000 (21:12 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Thu, 2 Feb 2012 15:51:19 +0000 (17:51 +0200)
commit125b0f55b63d11518f7d17480c795697c98b9bd3
tree176e7fea89565f9b8b9070c7f20fbcf34f50f403
parentd0fd11ffd3e2cb65234da354f14d745e5fbfce67
linux-user: save auxv length

We create our own AUXV segment on stack and save a pointer to it.
However we don't save the length of it, so any code that wants to
do anything useful with it later on has to walk it again.

Instead, let's remember the length of our AUXV segment. This
simplifies later uses by a lot.

(edited by Riku to apply to qemu HEAD)

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
linux-user/elfload.c
linux-user/qemu.h