about summary refs log tree commit diff
path: root/sysdeps/loongarch/dl-link.sym
blob: 868ab7c6eb733f4772c8061c452610bed39de04a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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)
DL_OFFSET_RG_FA0        offsetof(struct La_loongarch_regs, lr_fpreg)
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)
DL_OFFSET_RV_FA0        offsetof(struct La_loongarch_retval, lrv_a1)