aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-08-02 16:25:37 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-08-06 16:46:13 -0700
commit0662a626a712dde5f8a91e1b078644332336e9fa (patch)
tree3e8cc755bf74afb10dba660195e8214774e2f343 /linux-user/main.c
parent2aea137a425a87b930a33590177b04368fd7cc12 (diff)
downloadqemu-0662a626a712dde5f8a91e1b078644332336e9fa.zip
qemu-0662a626a712dde5f8a91e1b078644332336e9fa.tar.gz
qemu-0662a626a712dde5f8a91e1b078644332336e9fa.tar.bz2
linux-user: Properly set image_info.brk in flatload
The heap starts at "brk" not "start_brk". With this fixed, image_info.start_brk is unused and may be removed. Tested-by: Helge Deller <deller@gmx.de> Reviewed-by: Helge Deller <deller@gmx.de> Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/main.c')
-rw-r--r--linux-user/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index dba67ff..556956c 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -920,8 +920,6 @@ int main(int argc, char **argv, char **envp)
fprintf(f, "page layout changed following binary load\n");
page_dump(f);
- fprintf(f, "start_brk 0x" TARGET_ABI_FMT_lx "\n",
- info->start_brk);
fprintf(f, "end_code 0x" TARGET_ABI_FMT_lx "\n",
info->end_code);
fprintf(f, "start_code 0x" TARGET_ABI_FMT_lx "\n",