aboutsummaryrefslogtreecommitdiff
path: root/linux-user/elfload.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-08-16 10:54:57 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-10-30 13:41:56 -0700
commit5d94c2ffa813d07678c59dea516be5153f85cb2f (patch)
treed58163c11712fa6a351a9d19826383c9efd01f27 /linux-user/elfload.c
parentb63c6b97f8f5d357f383d8227316733c758c7ddd (diff)
linux-user: Show vdso address in /proc/pid/maps
Tested-by: Helge Deller <deller@gmx.de> Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r--linux-user/elfload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index a1583883fa..46832358b0 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -3919,6 +3919,7 @@ int load_elf_binary(struct linux_binprm *bprm, struct image_info *info)
const VdsoImageInfo *vdso = vdso_image_info();
if (vdso) {
load_elf_vdso(&vdso_info, vdso);
+ info->vdso = vdso_info.load_bias;
} else if (TARGET_ARCH_HAS_SIGTRAMP_PAGE) {
abi_long tramp_page = target_mmap(0, TARGET_PAGE_SIZE,
PROT_READ | PROT_WRITE,