about summary refs log tree commit diff
path: root/sysdeps/riscv/dl-link.sym
blob: b430a064c997e7fffdf32cb7c5e6cefb59185818 (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_riscv_regs)
DL_SIZEOF_RV            sizeof(struct La_riscv_retval)

DL_OFFSET_RG_A0         offsetof(struct La_riscv_regs, lr_reg)
#ifndef __riscv_float_abi_soft
DL_OFFSET_RG_FA0        offsetof(struct La_riscv_regs, lr_fpreg)
#endif
DL_OFFSET_RG_RA         offsetof(struct La_riscv_regs, lr_ra)
DL_OFFSET_RG_SP         offsetof(struct La_riscv_regs, lr_sp)

DL_OFFSET_RV_A0         offsetof(struct La_riscv_retval, lrv_a0)
#ifndef __riscv_float_abi_soft
DL_OFFSET_RV_FA0        offsetof(struct La_riscv_retval, lrv_fa0)
#endif