aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86FixupKinds.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-18 18:10:56 +0000
committerChris Lattner <sabre@nondot.org>2010-03-18 18:10:56 +0000
commit0f53cf22361d89690dcf58409decb43d2a3ad60f (patch)
tree13e1cb8f9e4c43935cf7072de0d8c5baa3845569 /lib/Target/X86/X86FixupKinds.h
parent1584390e550b1430fccfd100846844f9fdf6c15b (diff)
downloadexternal_llvm-0f53cf22361d89690dcf58409decb43d2a3ad60f.zip
external_llvm-0f53cf22361d89690dcf58409decb43d2a3ad60f.tar.gz
external_llvm-0f53cf22361d89690dcf58409decb43d2a3ad60f.tar.bz2
add a special relocation type for movq loads for object
files that produce special relocation types where the linker changes movq's into lea's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FixupKinds.h')
-rw-r--r--lib/Target/X86/X86FixupKinds.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86FixupKinds.h b/lib/Target/X86/X86FixupKinds.h
index c8dac3c..a8117d4 100644
--- a/lib/Target/X86/X86FixupKinds.h
+++ b/lib/Target/X86/X86FixupKinds.h
@@ -17,7 +17,8 @@ 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_riprel_4byte // 32-bit rip-relative
+ reloc_riprel_4byte, // 32-bit rip-relative
+ reloc_riprel_4byte_movq_load // 32-bit rip-relative in movq
};
}
}