summary refs log tree commit diff stats
path: root/linux-user/loader.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-09-04 11:30:53 +0200
committerRichard Henderson <richard.henderson@linaro.org>2025-09-23 16:17:59 -0700
commitee3b39c92454b0360a614bd017eb5e545ea61f4e (patch)
treef385ae8962a5746d684c27a609d9ee293aac5ace /linux-user/loader.h
parentab8008b231e758e03c87c1c483c03afdd9c02e19 (diff)
downloadfocaccia-qemu-ee3b39c92454b0360a614bd017eb5e545ea61f4e.tar.gz
focaccia-qemu-ee3b39c92454b0360a614bd017eb5e545ea61f4e.zip
linux-user: Create vdso_sigreturn_region_{start,end}
These variables will be populated from the vdso, and used
for detecting whether we are executing the sigreturn.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/loader.h')
-rw-r--r--linux-user/loader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/loader.h b/linux-user/loader.h
index e42b8fa1e3..da9ad28db5 100644
--- a/linux-user/loader.h
+++ b/linux-user/loader.h
@@ -117,6 +117,8 @@ typedef struct {
     unsigned reloc_count;
     unsigned sigreturn_ofs;
     unsigned rt_sigreturn_ofs;
+    unsigned sigreturn_region_start_ofs;
+    unsigned sigreturn_region_end_ofs;
 } VdsoImageInfo;
 
 /* Note that both Elf32_Word and Elf64_Word are uint32_t. */