blob: 95077591d539b8b05b9b8a71fbf079688b42881e [file] [log] [blame]
Daniel Dunbara8dfb792010-02-13 09:27:52 +00001//===-- 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
15namespace llvm {
16namespace X86 {
17enum Fixups {
Rafael Espindolae04ed7e2010-11-28 14:17:56 +000018 reloc_riprel_4byte = FirstTargetFixupKind, // 32-bit rip-relative
Rafael Espindolaa8c02c32010-09-30 03:11:42 +000019 reloc_riprel_4byte_movq_load, // 32-bit rip-relative in movq
Rafael Espindola24ba4f72010-10-24 17:35:42 +000020 reloc_signed_4byte, // 32-bit signed. Unlike FK_Data_4
Rafael Espindolaa8c02c32010-09-30 03:11:42 +000021 // this will be sign extended at
22 // runtime.
Rafael Espindola24ba4f72010-10-24 17:35:42 +000023 reloc_global_offset_table // 32-bit, relative to the start
24 // of the instruction. Used only
25 // for _GLOBAL_OFFSET_TABLE_.
Daniel Dunbara8dfb792010-02-13 09:27:52 +000026};
27}
28}
29
30#endif