mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
linux-user/loongarch64: Add vdso
Requires a relatively recent binutils version in order to avoid spurious R_LARCH_NONE relocations. The presence of these relocs are diagnosed by our gen-vdso tool. Tested-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
468c1bb5ca
commit
00cc2934b2
9 changed files with 245 additions and 1 deletions
8
linux-user/loongarch64/vdso-asmoffset.h
Normal file
8
linux-user/loongarch64/vdso-asmoffset.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
#define sizeof_rt_sigframe 0x240
|
||||
#define sizeof_sigcontext 0x110
|
||||
#define sizeof_sctx_info 0x10
|
||||
|
||||
#define offsetof_sigcontext 0x130
|
||||
#define offsetof_sigcontext_pc 0
|
||||
#define offsetof_sigcontext_gr 8
|
||||
#define offsetof_fpucontext_fr 0
|
Loading…
Add table
Add a link
Reference in a new issue