xref: /openbmc/u-boot/arch/mips/include/asm/relocs.h (revision 85231c08)
1 /*
2  * MIPS Relocations
3  *
4  * Copyright (c) 2017 Imagination Technologies Ltd.
5  *
6  * SPDX-License-Identifier:	GPL-2.0+
7  */
8 
9 #ifndef __ASM_MIPS_RELOCS_H__
10 #define __ASM_MIPS_RELOCS_H__
11 
12 #define R_MIPS_NONE		0
13 #define R_MIPS_32		2
14 #define R_MIPS_26		4
15 #define R_MIPS_HI16		5
16 #define R_MIPS_LO16		6
17 #define R_MIPS_PC16		10
18 #define R_MIPS_64		18
19 #define R_MIPS_HIGHER		28
20 #define R_MIPS_HIGHEST		29
21 #define R_MIPS_PC21_S2		60
22 #define R_MIPS_PC26_S2		61
23 
24 #endif /* __ASM_MIPS_RELOCS_H__ */
25