diff options
Diffstat (limited to 'roms/u-boot/arch/mips/include/asm/relocs.h')
-rw-r--r-- | roms/u-boot/arch/mips/include/asm/relocs.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/roms/u-boot/arch/mips/include/asm/relocs.h b/roms/u-boot/arch/mips/include/asm/relocs.h new file mode 100644 index 000000000..b9b0261f6 --- /dev/null +++ b/roms/u-boot/arch/mips/include/asm/relocs.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * MIPS Relocations + * + * Copyright (c) 2017 Imagination Technologies Ltd. + */ + +#ifndef __ASM_MIPS_RELOCS_H__ +#define __ASM_MIPS_RELOCS_H__ + +#define R_MIPS_NONE 0xbeef7531 +#define R_MIPS_32 2 +#define R_MIPS_26 4 +#define R_MIPS_HI16 5 +#define R_MIPS_LO16 6 +#define R_MIPS_PC16 10 +#define R_MIPS_64 18 +#define R_MIPS_HIGHER 28 +#define R_MIPS_HIGHEST 29 +#define R_MIPS_PC21_S2 60 +#define R_MIPS_PC26_S2 61 + +#endif /* __ASM_MIPS_RELOCS_H__ */ |