Path: blob/main/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/X86FixupKinds.h
35294 views
//===-- X86FixupKinds.h - X86 Specific Fixup Entries ------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86FIXUPKINDS_H9#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86FIXUPKINDS_H1011#include "llvm/MC/MCFixup.h"1213namespace llvm {14namespace X86 {15enum Fixups {16reloc_riprel_4byte = FirstTargetFixupKind, // 32-bit rip-relative17reloc_riprel_4byte_movq_load, // 32-bit rip-relative in movq18reloc_riprel_4byte_relax, // 32-bit rip-relative in relaxable19// instruction20reloc_riprel_4byte_relax_rex, // 32-bit rip-relative in relaxable21// instruction with rex prefix22reloc_signed_4byte, // 32-bit signed. Unlike FK_Data_423// this will be sign extended at24// runtime.25reloc_signed_4byte_relax, // like reloc_signed_4byte, but26// in a relaxable instruction.27reloc_global_offset_table, // 32-bit, relative to the start28// of the instruction. Used only29// for _GLOBAL_OFFSET_TABLE_.30reloc_global_offset_table8, // 64-bit variant.31reloc_branch_4byte_pcrel, // 32-bit PC relative branch.32// Marker33LastTargetFixupKind,34NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind35};36}37}3839#endif404142