diff options
author | Wolfgang Schildbach <wschi@dolby.com> | 2010-12-06 15:06:05 +0000 |
---|---|---|
committer | Riku Voipio <riku.voipio@iki.fi> | 2011-01-07 18:20:48 +0200 |
commit | 2e8785acc601f72dd10ce19929c455689fc2649d (patch) | |
tree | 3ed47324b6182cf419fbde9de0db436dcb57fae2 /oslib-win32.c | |
parent | 3ebe80c2993205ad6ad7ee0e800068f08932775c (diff) |
Fix commandline handling for ARM semihosted executables
Use the copy of the command line that loader_build_argptr() sets up in guest
memory as the command line to return from the ARM SYS_GET_CMDLINE semihosting
call. Previously we were using a pointer to memory which had already been
freed before the guest program started.
This fixes https://bugs.launchpad.net/qemu/+bug/673613 .
Signed-off-by: Wolfgang Schildbach <wschi@dolby.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'oslib-win32.c')
0 files changed, 0 insertions, 0 deletions