diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-12-22 09:40:20 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-12-22 09:40:20 +0000 |
commit | 8ee6baba29b0e7dadbc7e78e30116ba81e3c91b6 (patch) | |
tree | efcc3165fb64519ff1784903112d725c8682d5d2 /lib/Target/X86/X86Relocations.h | |
parent | 704f18fc54db5eeb5b4f8a7d3a55c53682c1d2f1 (diff) | |
download | external_llvm-8ee6baba29b0e7dadbc7e78e30116ba81e3c91b6.zip external_llvm-8ee6baba29b0e7dadbc7e78e30116ba81e3c91b6.tar.gz external_llvm-8ee6baba29b0e7dadbc7e78e30116ba81e3c91b6.tar.bz2 |
Preliminary PIC JIT support for X86 (32-bit) / Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Relocations.h')
-rw-r--r-- | lib/Target/X86/X86Relocations.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/Target/X86/X86Relocations.h b/lib/Target/X86/X86Relocations.h index 3dd2b24..097c2a2 100644 --- a/lib/Target/X86/X86Relocations.h +++ b/lib/Target/X86/X86Relocations.h @@ -23,10 +23,15 @@ namespace llvm { // the value already in memory, after we adjust it for where the PC is. reloc_pcrel_word = 0, + // reloc_picrel_word - PIC base relative relocation, add the relocated + // value to the value already in memory, after we adjust it for where the + // PIC base is. + reloc_picrel_word = 1, + // reloc_absolute_word, reloc_absolute_dword - Absolute relocation, just // add the relocated value to the value already in memory. - reloc_absolute_word = 1, - reloc_absolute_dword = 2 + reloc_absolute_word = 2, + reloc_absolute_dword = 3 }; } } |