LLVM API Documentation
00001 //===-- X86FixupKinds.h - X86 Specific Fixup Entries ------------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86FIXUPKINDS_H 00011 #define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86FIXUPKINDS_H 00012 00013 #include "llvm/MC/MCFixup.h" 00014 00015 namespace llvm { 00016 namespace X86 { 00017 enum Fixups { 00018 reloc_riprel_4byte = FirstTargetFixupKind, // 32-bit rip-relative 00019 reloc_riprel_4byte_movq_load, // 32-bit rip-relative in movq 00020 reloc_signed_4byte, // 32-bit signed. Unlike FK_Data_4 00021 // this will be sign extended at 00022 // runtime. 00023 reloc_global_offset_table, // 32-bit, relative to the start 00024 // of the instruction. Used only 00025 // for _GLOBAL_OFFSET_TABLE_. 00026 reloc_global_offset_table8, // 64-bit variant. 00027 // Marker 00028 LastTargetFixupKind, 00029 NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind 00030 }; 00031 } 00032 } 00033 00034 #endif