blob: b9b0261f6240d76661c5416db2bf441069c85e47 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Paul Burton703ec9d2017-06-19 11:53:47 -07002/*
3 * MIPS Relocations
4 *
5 * Copyright (c) 2017 Imagination Technologies Ltd.
Paul Burton703ec9d2017-06-19 11:53:47 -07006 */
7
8#ifndef __ASM_MIPS_RELOCS_H__
9#define __ASM_MIPS_RELOCS_H__
10
Stefan Roesec3728132020-06-05 10:29:25 +020011#define R_MIPS_NONE 0xbeef7531
Paul Burton703ec9d2017-06-19 11:53:47 -070012#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__ */