blob: b534968e30d56963e90e3f521b0c917baf06094b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <stddef.h>
#include <sysdep.h>
#include <link.h>
DL_SIZEOF_RG sizeof(struct La_loongarch_regs)
DL_SIZEOF_RV sizeof(struct La_loongarch_retval)
DL_OFFSET_RG_A0 offsetof(struct La_loongarch_regs, lr_reg)
#ifndef __loongarch_soft_float
DL_OFFSET_RG_VEC0 offsetof(struct La_loongarch_regs, lr_vec)
#endif
DL_OFFSET_RG_RA offsetof(struct La_loongarch_regs, lr_ra)
DL_OFFSET_RG_SP offsetof(struct La_loongarch_regs, lr_sp)
DL_OFFSET_RV_A0 offsetof(struct La_loongarch_retval, lrv_a0)
#ifndef __loongarch_soft_float
DL_OFFSET_RV_VEC0 offsetof(struct La_loongarch_retval, lrv_vec0)
#endif
|