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