linux-user: Properly set image_info.brk in flatload
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 2 Aug 2023 23:25:37 +0000 (16:25 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 6 Aug 2023 23:46:13 +0000 (16:46 -0700)
commit0662a626a712dde5f8a91e1b078644332336e9fa
tree3e8cc755bf74afb10dba660195e8214774e2f343
parent2aea137a425a87b930a33590177b04368fd7cc12
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>
linux-user/flatload.c
linux-user/main.c
linux-user/qemu.h