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