diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-07-18 23:24:01 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-07-18 23:24:01 +0000 |
commit | e2b0ecd8be031685a4fe63633235eceae7f1c4fa (patch) | |
tree | 87ba3192f419d41c3666b79b1ce53db24775976f /lib/Target/X86/X86ELFWriterInfo.cpp | |
parent | edcb540496ca798003d9fece8cf4e57d536afa38 (diff) | |
download | llvm-e2b0ecd8be031685a4fe63633235eceae7f1c4fa.tar.gz llvm-e2b0ecd8be031685a4fe63633235eceae7f1c4fa.tar.bz2 llvm-e2b0ecd8be031685a4fe63633235eceae7f1c4fa.tar.xz |
Use R_X86_64_32S to handle Jump Table Index relocation entries. Hide TAI usage inside getSection* functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86ELFWriterInfo.cpp')
-rw-r--r-- | lib/Target/X86/X86ELFWriterInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/X86ELFWriterInfo.cpp b/lib/Target/X86/X86ELFWriterInfo.cpp index 4e4b6f1d91..9e44f97ca8 100644 --- a/lib/Target/X86/X86ELFWriterInfo.cpp +++ b/lib/Target/X86/X86ELFWriterInfo.cpp @@ -84,6 +84,7 @@ unsigned X86ELFWriterInfo::getRelocationTySize(unsigned RelTy) const { switch(RelTy) { case R_X86_64_PC32: case R_X86_64_32: + case R_X86_64_32S: return 32; case R_X86_64_64: return 64; |