blob: d67d28b40ce7d4ffb683d3a323fe02395da7a8fd [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include <stddef.h>
2#include <sysdep.h>
3#include <link.h>
4#include <dl-tlsdesc.h>
5
6DL_SIZEOF_RG sizeof(struct La_aarch64_regs)
7DL_SIZEOF_RV sizeof(struct La_aarch64_retval)
8
9DL_OFFSET_RG_X0 offsetof(struct La_aarch64_regs, lr_xreg)
10DL_OFFSET_RG_D0 offsetof(struct La_aarch64_regs, lr_dreg)
11DL_OFFSET_RG_SP offsetof(struct La_aarch64_regs, lr_sp)
12DL_OFFSET_RG_LR offsetof(struct La_aarch64_regs, lr_lr)
13
14DL_OFFSET_RV_X0 offsetof(struct La_aarch64_retval, lrv_xreg)
15DL_OFFSET_RV_D0 offsetof(struct La_aarch64_retval, lrv_dreg)