Jan Voung | 8acded0 | 2014-09-22 18:02:25 -0700 | [diff] [blame] | 1 | //===- 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 | |
| 19 | namespace Ice { |
| 20 | |
| 21 | enum 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 |