Lanai.def 542 B

12345678910111213141516171819
  1. #ifndef ELF_RELOC
  2. #error "ELF_RELOC must be defined"
  3. #endif
  4. // No relocation
  5. ELF_RELOC(R_LANAI_NONE, 0)
  6. // 21-bit symbol relocation
  7. ELF_RELOC(R_LANAI_21, 1)
  8. // 21-bit symbol relocation with last two bits masked to 0
  9. ELF_RELOC(R_LANAI_21_F, 2)
  10. // 25-bit branch targets
  11. ELF_RELOC(R_LANAI_25, 3)
  12. // General 32-bit relocation
  13. ELF_RELOC(R_LANAI_32, 4)
  14. // Upper 16-bits of a symbolic relocation
  15. ELF_RELOC(R_LANAI_HI16, 5)
  16. // Lower 16-bits of a symbolic relocation
  17. ELF_RELOC(R_LANAI_LO16, 6)