mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user