aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86FixupKinds.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-11-28 14:17:56 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-11-28 14:17:56 +0000
commite04ed7e45f194f14a7b28bbf3f55694d8e2bcf80 (patch)
tree854092273f97215528c062e83ee8d5ef3ff4eff4 /lib/Target/X86/X86FixupKinds.h
parent9a08ca318e63912e4c19977abc1173f30866b704 (diff)
downloadexternal_llvm-e04ed7e45f194f14a7b28bbf3f55694d8e2bcf80.zip
external_llvm-e04ed7e45f194f14a7b28bbf3f55694d8e2bcf80.tar.gz
external_llvm-e04ed7e45f194f14a7b28bbf3f55694d8e2bcf80.tar.bz2
Define generic 1, 2 and 4 byte pc relative relocations. They are common
and at least the 4 byte one will be needed to implement the .cfi_* directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FixupKinds.h')
-rw-r--r--lib/Target/X86/X86FixupKinds.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/X86/X86FixupKinds.h b/lib/Target/X86/X86FixupKinds.h
index 64ee3eb..9507759 100644
--- a/lib/Target/X86/X86FixupKinds.h
+++ b/lib/Target/X86/X86FixupKinds.h
@@ -15,10 +15,7 @@
namespace llvm {
namespace X86 {
enum Fixups {
- reloc_pcrel_4byte = FirstTargetFixupKind, // 32-bit pcrel, e.g. a branch.
- reloc_pcrel_1byte, // 8-bit pcrel, e.g. branch_1
- reloc_pcrel_2byte, // 16-bit pcrel, e.g. callw
- reloc_riprel_4byte, // 32-bit rip-relative
+ reloc_riprel_4byte = FirstTargetFixupKind, // 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
// this will be sign extended at