Added llvmgcc version to allow tests to be xfailed by frontend version.
[llvm-complete.git] / lib / Target / X86 / X86Relocations.h
blob7a5f1a68844a5026f044330151d640e8e4c9804c
1 //===- X86Relocations.h - X86 Code Relocations ------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines the X86 target-specific relocation types.
12 //===----------------------------------------------------------------------===//
14 #ifndef X86RELOCATIONS_H
15 #define X86RELOCATIONS_H
17 #include "llvm/CodeGen/MachineRelocation.h"
19 namespace llvm {
20 namespace X86 {
21 enum RelocationType {
22 // reloc_pcrel_word - PC relative relocation, add the relocated value to
23 // the value already in memory, after we adjust it for where the PC is.
24 reloc_pcrel_word = 0,
26 // reloc_absolute_word - Absolute relocation, just add the relocated value
27 // to the value already in memory.
28 reloc_absolute_word = 1,
33 #endif