1 #ifndef LLVM_Mips_MipsFIXUPKINDS_H 2 #define LLVM_Mips_MipsFIXUPKINDS_H 3 4 //===-- Mips/MipsFixupKinds.h - Mips Specific Fixup Entries --------*- C++ -*-===// 5 // 6 // The LLVM Compiler Infrastructure 7 // 8 // This file is distributed under the University of Illinois Open Source 9 // License. See LICENSE.TXT for details. 10 // 11 //===----------------------------------------------------------------------===// 12 13 14 #include "llvm/MC/MCFixup.h" 15 16 namespace llvm { 17 namespace Mips { 18 enum Fixups { 19 // fixup_Mips_xxx - R_MIPS_NONE 20 fixup_Mips_NONE = FirstTargetFixupKind, 21 22 // fixup_Mips_xxx - R_MIPS_16. 23 fixup_Mips_16, 24 25 // fixup_Mips_xxx - R_MIPS_32. 26 fixup_Mips_32, 27 28 // fixup_Mips_xxx - R_MIPS_REL32. 29 fixup_Mips_REL32, 30 31 // fixup_Mips_xxx - R_MIPS_26. 32 fixup_Mips_26, 33 34 // fixup_Mips_xxx - R_MIPS_HI16. 35 fixup_Mips_HI16, 36 37 // fixup_Mips_xxx - R_MIPS_LO16. 38 fixup_Mips_LO16, 39 40 // fixup_Mips_xxx - R_MIPS_GPREL16. 41 fixup_Mips_GPREL16, 42 43 // fixup_Mips_xxx - R_MIPS_LITERAL. 44 fixup_Mips_LITERAL, 45 46 // fixup_Mips_xxx - R_MIPS_GOT16. 47 fixup_Mips_GOT16, 48 49 // fixup_Mips_xxx - R_MIPS_PC16. 50 fixup_Mips_PC16, 51 52 // fixup_Mips_xxx - R_MIPS_CALL16. 53 fixup_Mips_CALL16, 54 55 // fixup_Mips_xxx - R_MIPS_GPREL32. 56 fixup_Mips_GPREL32, 57 58 // fixup_Mips_xxx - R_MIPS_SHIFT5. 59 fixup_Mips_SHIFT5, 60 61 // fixup_Mips_xxx - R_MIPS_SHIFT6. 62 fixup_Mips_SHIFT6, 63 64 // fixup_Mips_xxx - R_MIPS_64. 65 fixup_Mips_64, 66 67 // fixup_Mips_xxx - R_MIPS_TLS_GD. 68 fixup_Mips_TLSGD, 69 70 // fixup_Mips_xxx - R_MIPS_TLS_GOTTPREL. 71 fixup_Mips_GOTTPREL, 72 73 // fixup_Mips_xxx - R_MIPS_TLS_TPREL_HI16. 74 fixup_Mips_TPREL_HI, 75 76 // fixup_Mips_xxx - R_MIPS_TLS_TPREL_LO16. 77 fixup_Mips_TPREL_LO, 78 79 // fixup_Mips_xxx - yyy. // This should become R_MIPS_PC16 80 fixup_Mips_Branch_PCRel, 81 82 // Marker 83 LastTargetFixupKind, 84 NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind 85 }; 86 } // namespace llvm 87 } // namespace Mips 88 89 90 #endif /* LLVM_Mips_MipsFIXUPKINDS_H */ 91