From 125b0f55b63d11518f7d17480c795697c98b9bd3 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Sat, 28 Jan 2012 21:12:14 +0200 Subject: 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 Signed-off-by: Riku Voipio --- linux-user/qemu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'linux-user/qemu.h') diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 30e2abd839..308dbc025b 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -48,6 +48,7 @@ struct image_info { abi_ulong code_offset; abi_ulong data_offset; abi_ulong saved_auxv; + abi_ulong auxv_len; abi_ulong arg_start; abi_ulong arg_end; int personality; -- cgit 1.4.1