Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Paul Burton | 703ec9d | 2017-06-19 11:53:47 -0700 | [diff] [blame] | 2 | /* |
| 3 | * MIPS Relocations |
| 4 | * |
| 5 | * Copyright (c) 2017 Imagination Technologies Ltd. |
Paul Burton | 703ec9d | 2017-06-19 11:53:47 -0700 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __ASM_MIPS_RELOCS_H__ |
| 9 | #define __ASM_MIPS_RELOCS_H__ |
| 10 | |
Stefan Roese | c372813 | 2020-06-05 10:29:25 +0200 | [diff] [blame] | 11 | #define R_MIPS_NONE 0xbeef7531 |
Paul Burton | 703ec9d | 2017-06-19 11:53:47 -0700 | [diff] [blame] | 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__ */ |