Daniel Dunbar | a8dfb79 | 2010-02-13 09:27:52 +0000 | [diff] [blame^] | 1 | //===-- X86/X86FixupKinds.h - X86 Specific Fixup Entries --------*- 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 | #ifndef LLVM_X86_X86FIXUPKINDS_H |
| 11 | #define LLVM_X86_X86FIXUPKINDS_H |
| 12 | |
| 13 | #include "llvm/MC/MCFixup.h" |
| 14 | |
| 15 | namespace llvm { |
| 16 | namespace X86 { |
| 17 | enum Fixups { |
| 18 | reloc_pcrel_4byte = FirstTargetFixupKind, // 32-bit pcrel, e.g. a branch. |
| 19 | reloc_pcrel_1byte, // 8-bit pcrel, e.g. branch_1 |
| 20 | reloc_riprel_4byte // 32-bit rip-relative |
| 21 | }; |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | #endif |