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
diff --git a/lib/Target/X86/X86ELFWriterInfo.cpp b/lib/Target/X86/X86ELFWriterInfo.cpp
index a26fe8c..2736a81 100644
--- a/lib/Target/X86/X86ELFWriterInfo.cpp
+++ b/lib/Target/X86/X86ELFWriterInfo.cpp
@@ -65,6 +65,8 @@
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");
}