aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsRelocations.h
blob: 0df21be3f134a1ed3e521c501ff8f2fa6277fe73 (plain)
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
//===- MipsRelocations.h - Mips Code Relocations ---------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===---------------------------------------------------------------------===//
//
// This file defines the Mips target-specific relocation types
// (for relocation-model=static).
//
//===---------------------------------------------------------------------===//

#ifndef MIPSRELOCATIONS_H_
#define MIPSRELOCATIONS_H_

#include "llvm/CodeGen/MachineRelocation.h"

namespace llvm {
  namespace Mips{
    enum RelocationType {
      reloc_mips_pcrel = 1,
      reloc_mips_hi = 3,
      reloc_mips_lo = 4,
      reloc_mips_j_jal = 5
    };
  }
}

#endif /* MIPSRELOCATIONS_H_ */