diff options
author | 2023-08-16 10:32:18 -0700 | |
---|---|---|
committer | 2023-09-01 13:34:18 -0700 | |
commit | aec338d63bc28f1f13d5e64c561d7f1dd0e4b07e (patch) | |
tree | 0482b4bdf32065cd44ed25aa1e4a2dc102bb387f /scripts/qapi/source.py | |
parent | linux-user: Use walk_memory_regions for open_self_maps (diff) | |
download | qemu-aec338d63bc28f1f13d5e64c561d7f1dd0e4b07e.tar.xz qemu-aec338d63bc28f1f13d5e64c561d7f1dd0e4b07e.zip |
linux-user: Adjust brk for load_bias
PIE executables are usually linked at offset 0 and are
relocated somewhere during load. The hiaddr needs to
be adjusted to keep the brk next to the executable.
Cc: qemu-stable@nongnu.org
Fixes: 1f356e8c013 ("linux-user: Adjust initial brk when interpreter is close to executable")
Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions