aboutsummaryrefslogtreecommitdiffstats
path: root/tools/objtool/arch/loongarch/include/arch/cfi_regs.h
blob: d183cc8f43bf3a70190315bdc623e8cf30f05246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef _OBJTOOL_ARCH_CFI_REGS_H
#define _OBJTOOL_ARCH_CFI_REGS_H

#define CFI_RA		1
#define CFI_SP		3
#define CFI_A0		4
#define CFI_FP		22
#define CFI_S0		23
#define CFI_S1		24
#define CFI_S2		25
#define CFI_S3		26
#define CFI_S4		27
#define CFI_S5		28
#define CFI_S6		29
#define CFI_S7		30
#define CFI_S8		31
#define CFI_NUM_REGS	32

#define CFI_BP		CFI_FP

#endif /* _OBJTOOL_ARCH_CFI_REGS_H */