xref: /linux/tools/objtool/arch/loongarch/include/arch/cfi_regs.h (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef _OBJTOOL_ARCH_CFI_REGS_H
3 #define _OBJTOOL_ARCH_CFI_REGS_H
4 
5 #define CFI_RA		1
6 #define CFI_SP		3
7 #define CFI_A0		4
8 #define CFI_FP		22
9 #define CFI_S0		23
10 #define CFI_S1		24
11 #define CFI_S2		25
12 #define CFI_S3		26
13 #define CFI_S4		27
14 #define CFI_S5		28
15 #define CFI_S6		29
16 #define CFI_S7		30
17 #define CFI_S8		31
18 #define CFI_NUM_REGS	32
19 
20 #define CFI_BP		CFI_FP
21 
22 #endif /* _OBJTOOL_ARCH_CFI_REGS_H */
23