Mips.def 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. #ifndef ELF_RELOC
  2. #error "ELF_RELOC must be defined"
  3. #endif
  4. ELF_RELOC(R_MIPS_NONE, 0)
  5. ELF_RELOC(R_MIPS_16, 1)
  6. ELF_RELOC(R_MIPS_32, 2)
  7. ELF_RELOC(R_MIPS_REL32, 3)
  8. ELF_RELOC(R_MIPS_26, 4)
  9. ELF_RELOC(R_MIPS_HI16, 5)
  10. ELF_RELOC(R_MIPS_LO16, 6)
  11. ELF_RELOC(R_MIPS_GPREL16, 7)
  12. ELF_RELOC(R_MIPS_LITERAL, 8)
  13. ELF_RELOC(R_MIPS_GOT16, 9)
  14. ELF_RELOC(R_MIPS_PC16, 10)
  15. ELF_RELOC(R_MIPS_CALL16, 11)
  16. ELF_RELOC(R_MIPS_GPREL32, 12)
  17. ELF_RELOC(R_MIPS_UNUSED1, 13)
  18. ELF_RELOC(R_MIPS_UNUSED2, 14)
  19. ELF_RELOC(R_MIPS_UNUSED3, 15)
  20. ELF_RELOC(R_MIPS_SHIFT5, 16)
  21. ELF_RELOC(R_MIPS_SHIFT6, 17)
  22. ELF_RELOC(R_MIPS_64, 18)
  23. ELF_RELOC(R_MIPS_GOT_DISP, 19)
  24. ELF_RELOC(R_MIPS_GOT_PAGE, 20)
  25. ELF_RELOC(R_MIPS_GOT_OFST, 21)
  26. ELF_RELOC(R_MIPS_GOT_HI16, 22)
  27. ELF_RELOC(R_MIPS_GOT_LO16, 23)
  28. ELF_RELOC(R_MIPS_SUB, 24)
  29. ELF_RELOC(R_MIPS_INSERT_A, 25)
  30. ELF_RELOC(R_MIPS_INSERT_B, 26)
  31. ELF_RELOC(R_MIPS_DELETE, 27)
  32. ELF_RELOC(R_MIPS_HIGHER, 28)
  33. ELF_RELOC(R_MIPS_HIGHEST, 29)
  34. ELF_RELOC(R_MIPS_CALL_HI16, 30)
  35. ELF_RELOC(R_MIPS_CALL_LO16, 31)
  36. ELF_RELOC(R_MIPS_SCN_DISP, 32)
  37. ELF_RELOC(R_MIPS_REL16, 33)
  38. ELF_RELOC(R_MIPS_ADD_IMMEDIATE, 34)
  39. ELF_RELOC(R_MIPS_PJUMP, 35)
  40. ELF_RELOC(R_MIPS_RELGOT, 36)
  41. ELF_RELOC(R_MIPS_JALR, 37)
  42. ELF_RELOC(R_MIPS_TLS_DTPMOD32, 38)
  43. ELF_RELOC(R_MIPS_TLS_DTPREL32, 39)
  44. ELF_RELOC(R_MIPS_TLS_DTPMOD64, 40)
  45. ELF_RELOC(R_MIPS_TLS_DTPREL64, 41)
  46. ELF_RELOC(R_MIPS_TLS_GD, 42)
  47. ELF_RELOC(R_MIPS_TLS_LDM, 43)
  48. ELF_RELOC(R_MIPS_TLS_DTPREL_HI16, 44)
  49. ELF_RELOC(R_MIPS_TLS_DTPREL_LO16, 45)
  50. ELF_RELOC(R_MIPS_TLS_GOTTPREL, 46)
  51. ELF_RELOC(R_MIPS_TLS_TPREL32, 47)
  52. ELF_RELOC(R_MIPS_TLS_TPREL64, 48)
  53. ELF_RELOC(R_MIPS_TLS_TPREL_HI16, 49)
  54. ELF_RELOC(R_MIPS_TLS_TPREL_LO16, 50)
  55. ELF_RELOC(R_MIPS_GLOB_DAT, 51)
  56. ELF_RELOC(R_MIPS_PC21_S2, 60)
  57. ELF_RELOC(R_MIPS_PC26_S2, 61)
  58. ELF_RELOC(R_MIPS_PC18_S3, 62)
  59. ELF_RELOC(R_MIPS_PC19_S2, 63)
  60. ELF_RELOC(R_MIPS_PCHI16, 64)
  61. ELF_RELOC(R_MIPS_PCLO16, 65)
  62. ELF_RELOC(R_MIPS16_26, 100)
  63. ELF_RELOC(R_MIPS16_GPREL, 101)
  64. ELF_RELOC(R_MIPS16_GOT16, 102)
  65. ELF_RELOC(R_MIPS16_CALL16, 103)
  66. ELF_RELOC(R_MIPS16_HI16, 104)
  67. ELF_RELOC(R_MIPS16_LO16, 105)
  68. ELF_RELOC(R_MIPS16_TLS_GD, 106)
  69. ELF_RELOC(R_MIPS16_TLS_LDM, 107)
  70. ELF_RELOC(R_MIPS16_TLS_DTPREL_HI16, 108)
  71. ELF_RELOC(R_MIPS16_TLS_DTPREL_LO16, 109)
  72. ELF_RELOC(R_MIPS16_TLS_GOTTPREL, 110)
  73. ELF_RELOC(R_MIPS16_TLS_TPREL_HI16, 111)
  74. ELF_RELOC(R_MIPS16_TLS_TPREL_LO16, 112)
  75. ELF_RELOC(R_MIPS_COPY, 126)
  76. ELF_RELOC(R_MIPS_JUMP_SLOT, 127)
  77. ELF_RELOC(R_MICROMIPS_26_S1, 133)
  78. ELF_RELOC(R_MICROMIPS_HI16, 134)
  79. ELF_RELOC(R_MICROMIPS_LO16, 135)
  80. ELF_RELOC(R_MICROMIPS_GPREL16, 136)
  81. ELF_RELOC(R_MICROMIPS_LITERAL, 137)
  82. ELF_RELOC(R_MICROMIPS_GOT16, 138)
  83. ELF_RELOC(R_MICROMIPS_PC7_S1, 139)
  84. ELF_RELOC(R_MICROMIPS_PC10_S1, 140)
  85. ELF_RELOC(R_MICROMIPS_PC16_S1, 141)
  86. ELF_RELOC(R_MICROMIPS_CALL16, 142)
  87. ELF_RELOC(R_MICROMIPS_GOT_DISP, 145)
  88. ELF_RELOC(R_MICROMIPS_GOT_PAGE, 146)
  89. ELF_RELOC(R_MICROMIPS_GOT_OFST, 147)
  90. ELF_RELOC(R_MICROMIPS_GOT_HI16, 148)
  91. ELF_RELOC(R_MICROMIPS_GOT_LO16, 149)
  92. ELF_RELOC(R_MICROMIPS_SUB, 150)
  93. ELF_RELOC(R_MICROMIPS_HIGHER, 151)
  94. ELF_RELOC(R_MICROMIPS_HIGHEST, 152)
  95. ELF_RELOC(R_MICROMIPS_CALL_HI16, 153)
  96. ELF_RELOC(R_MICROMIPS_CALL_LO16, 154)
  97. ELF_RELOC(R_MICROMIPS_SCN_DISP, 155)
  98. ELF_RELOC(R_MICROMIPS_JALR, 156)
  99. ELF_RELOC(R_MICROMIPS_HI0_LO16, 157)
  100. ELF_RELOC(R_MICROMIPS_TLS_GD, 162)
  101. ELF_RELOC(R_MICROMIPS_TLS_LDM, 163)
  102. ELF_RELOC(R_MICROMIPS_TLS_DTPREL_HI16, 164)
  103. ELF_RELOC(R_MICROMIPS_TLS_DTPREL_LO16, 165)
  104. ELF_RELOC(R_MICROMIPS_TLS_GOTTPREL, 166)
  105. ELF_RELOC(R_MICROMIPS_TLS_TPREL_HI16, 169)
  106. ELF_RELOC(R_MICROMIPS_TLS_TPREL_LO16, 170)
  107. ELF_RELOC(R_MICROMIPS_GPREL7_S2, 172)
  108. ELF_RELOC(R_MICROMIPS_PC23_S2, 173)
  109. ELF_RELOC(R_MICROMIPS_PC21_S1, 174)
  110. ELF_RELOC(R_MICROMIPS_PC26_S1, 175)
  111. ELF_RELOC(R_MICROMIPS_PC18_S3, 176)
  112. ELF_RELOC(R_MICROMIPS_PC19_S2, 177)
  113. ELF_RELOC(R_MIPS_NUM, 218)
  114. ELF_RELOC(R_MIPS_PC32, 248)
  115. ELF_RELOC(R_MIPS_EH, 249)