blob: 7144aa8d093355e5b9d3c7cc942112d4ba5d4db3 [file] [log] [blame]
Jan Voung8acded02014-09-22 18:02:25 -07001//===- subzero/src/IceFixups.h - Assembler fixup kinds ----------*- C++ -*-===//
2//
3// The Subzero Code Generator
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 declares generic fixup types.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef SUBZERO_SRC_ICEFIXUPS_H
15#define SUBZERO_SRC_ICEFIXUPS_H
16
17#include "IceTypes.def"
18
19namespace Ice {
20
21enum FixupKind {
22 // Specify some of the most common relocation types.
23 FK_Abs_4 = 0,
24 FK_PcRel_4 = 1,
25
26 // Target specific relocation types follow this.
27 FK_FirstTargetSpecific = 1 << 4
28};
29
30} // end of namespace Ice
31
32#endif // SUBZERO_SRC_ICEFIXUPS_H