mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-03 15:26:18 +00:00
use std::vector instead of std::list for both Section and Symbol lists because
we care more about random access than insertion/deletion of elements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75828 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -65,6 +65,8 @@ long int X86ELFWriterInfo::getAddendForRelTy(unsigned RelTy) const {
|
||||
switch(RelTy) {
|
||||
case R_X86_64_PC32: return -4;
|
||||
break;
|
||||
case R_X86_64_32: return 0;
|
||||
break;
|
||||
default:
|
||||
llvm_unreachable("unknown x86 relocation type");
|
||||
}
|
||||
|
Reference in New Issue
Block a user