diff options
author | Dan Gohman <gohman@apple.com> | 2008-10-24 01:57:54 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-10-24 01:57:54 +0000 |
commit | c9f3cc3bdaf1ec134dec1f718e7f2e735b34b17b (patch) | |
tree | 7b4361c5bfa04942b1cc7e907630bdb793c3e747 /lib/Target/X86/X86Relocations.h | |
parent | b1e5edc27ec8b41f13d2fcd78e7ff474d8a50b7a (diff) | |
download | external_llvm-c9f3cc3bdaf1ec134dec1f718e7f2e735b34b17b.zip external_llvm-c9f3cc3bdaf1ec134dec1f718e7f2e735b34b17b.tar.gz external_llvm-c9f3cc3bdaf1ec134dec1f718e7f2e735b34b17b.tar.bz2 |
Fix constant-offset emission for x86-64 absolute addresses. This
fixes a bunch of test-suite JIT failures on x86-64 in
-relocation-model=static mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58066 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Relocations.h')
-rw-r--r-- | lib/Target/X86/X86Relocations.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86Relocations.h b/lib/Target/X86/X86Relocations.h index 709ef86..b225f48 100644 --- a/lib/Target/X86/X86Relocations.h +++ b/lib/Target/X86/X86Relocations.h @@ -18,6 +18,9 @@ namespace llvm { namespace X86 { + /// RelocationType - An enum for the x86 relocation codes. Note that + /// the terminology here doesn't follow x86 convention - word means + /// 32-bit and dword means 64-bit. enum RelocationType { // reloc_pcrel_word - PC relative relocation, add the relocated value to // the value already in memory, after we adjust it for where the PC is. |