mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
eaa5b1cce8
This commit can fix the FAIL item: elf/tst-sprof-basic.
15 lines
583 B
Plaintext
15 lines
583 B
Plaintext
#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)
|