relocs.h 484 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * MIPS Relocations
  4. *
  5. * Copyright (c) 2017 Imagination Technologies Ltd.
  6. */
  7. #ifndef __ASM_MIPS_RELOCS_H__
  8. #define __ASM_MIPS_RELOCS_H__
  9. #define R_MIPS_NONE 0
  10. #define R_MIPS_32 2
  11. #define R_MIPS_26 4
  12. #define R_MIPS_HI16 5
  13. #define R_MIPS_LO16 6
  14. #define R_MIPS_PC16 10
  15. #define R_MIPS_64 18
  16. #define R_MIPS_HIGHER 28
  17. #define R_MIPS_HIGHEST 29
  18. #define R_MIPS_PC21_S2 60
  19. #define R_MIPS_PC26_S2 61
  20. #endif /* __ASM_MIPS_RELOCS_H__ */