diff options
Diffstat (limited to 'llvm/lib/Target/X86/X86FixupKinds.h')
-rw-r--r-- | llvm/lib/Target/X86/X86FixupKinds.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FixupKinds.h b/llvm/lib/Target/X86/X86FixupKinds.h index f408a413f04..64ee3eb3304 100644 --- a/llvm/lib/Target/X86/X86FixupKinds.h +++ b/llvm/lib/Target/X86/X86FixupKinds.h @@ -20,9 +20,12 @@ enum Fixups { reloc_pcrel_2byte, // 16-bit pcrel, e.g. callw reloc_riprel_4byte, // 32-bit rip-relative reloc_riprel_4byte_movq_load, // 32-bit rip-relative in movq - reloc_signed_4byte // 32-bit signed. Unlike FK_Data_4 + reloc_signed_4byte, // 32-bit signed. Unlike FK_Data_4 // this will be sign extended at // runtime. + reloc_global_offset_table // 32-bit, relative to the start + // of the instruction. Used only + // for _GLOBAL_OFFSET_TABLE_. }; } } |