mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Commit the right files for r176762. Sigh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176763 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
462bba39c2
commit
7394c5a37c
@ -1,4 +1,4 @@
|
||||
//===- lib/MC/ELFObjectWriter.cpp - ELF File Writer -------------------===//
|
||||
//===- lib/MC/ELFObjectWriter.cpp - ELF File Writer -----------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
@ -978,7 +978,7 @@ void ELFObjectWriter::ComputeSymbolTable(MCAssembler &Asm,
|
||||
for (unsigned i = 0, e = UndefinedSymbolData.size(); i != e; ++i)
|
||||
UndefinedSymbolData[i].SymbolData->setIndex(Index++);
|
||||
|
||||
if (NumRegularSections > ELF::SHN_LORESERVE)
|
||||
if (Index >= ELF::SHN_LORESERVE)
|
||||
NeedsSymtabShndx = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user