1 //===-- X86/X86FixupKinds.h - X86 Specific Fixup Entries --------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_X86_X86FIXUPKINDS_H
11 #define LLVM_X86_X86FIXUPKINDS_H
13 #include "llvm/MC/MCFixup.h"
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_pcrel_2byte
, // 16-bit pcrel, e.g. callw
21 reloc_riprel_4byte
, // 32-bit rip-relative
22 reloc_riprel_4byte_movq_load
, // 32-bit rip-relative in movq
23 reloc_signed_4byte
, // 32-bit signed. Unlike FK_Data_4
24 // this will be sign extended at
26 reloc_global_offset_table
// 32-bit, relative to the start
27 // of the instruction. Used only
28 // for _GLOBAL_OFFSET_TABLE_.