diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-08-03 07:51:51 +1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-08-28 06:39:25 +1000 |
| commit | e872342837ed61af5f2ed15541375adf0c23e0eb (patch) | |
| tree | 95364c35ad91b396eee6b7dde1d92fa1b481805d /linux-user/arm/cpu_loop.c | |
| parent | ea8683d2b3777fcb934a075df8b63d45642097d6 (diff) | |
| download | focaccia-qemu-e872342837ed61af5f2ed15541375adf0c23e0eb.tar.gz focaccia-qemu-e872342837ed61af5f2ed15541375adf0c23e0eb.zip | |
linux-user/arm: Remove a.out startup remenents
The setting of r1/r2 was removed in kernel commit acfdd4b1f7590d0
("ARM: 7791/1: a.out: remove partial a.out support"), and the
kernel commit message explains the history.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/arm/cpu_loop.c')
| -rw-r--r-- | linux-user/arm/cpu_loop.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linux-user/arm/cpu_loop.c b/linux-user/arm/cpu_loop.c index 739e1607e3..9aeb9b0087 100644 --- a/linux-user/arm/cpu_loop.c +++ b/linux-user/arm/cpu_loop.c @@ -492,10 +492,6 @@ void init_main_thread(CPUState *cs, struct image_info *info) env->regs[15] = entry & 0xfffffffe; env->regs[13] = stack; - /* FIXME - what to for failure of get_user()? */ - get_user_ual(env->regs[2], stack + 8); /* envp */ - get_user_ual(env->regs[1], stack + 4); /* envp */ - /* * Per the SVR4 ABI, r0 contains a pointer to a function to be * registered with atexit. A value of 0 means we have no such handler. |