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
This commit is contained in:
Bruno Cardoso Lopes
2009-07-18 23:24:01 +00:00
parent edcb540496
commit e2b0ecd8be
6 changed files with 54 additions and 29 deletions
+1
View File
@@ -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;