blob: 0df21be3f134a1ed3e521c501ff8f2fa6277fe73 [file] [log] [blame]
Bruno Cardoso Lopesdca6cdd2011-07-21 16:28:51 +00001//===- MipsRelocations.h - Mips Code Relocations ---------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===---------------------------------------------------------------------===//
9//
10// This file defines the Mips target-specific relocation types
11// (for relocation-model=static).
12//
13//===---------------------------------------------------------------------===//
14
15#ifndef MIPSRELOCATIONS_H_
16#define MIPSRELOCATIONS_H_
17
18#include "llvm/CodeGen/MachineRelocation.h"
19
20namespace llvm {
21 namespace Mips{
22 enum RelocationType {
23 reloc_mips_pcrel = 1,
24 reloc_mips_hi = 3,
25 reloc_mips_lo = 4,
26 reloc_mips_j_jal = 5
27 };
28 }
29}
30
31#endif /* MIPSRELOCATIONS_H_ */
32