mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-16 12:24:03 +00:00
*try* to use a better name to describe how common symbols are marked on the elf object file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79029 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -356,7 +356,7 @@ void ELFWriter::EmitGlobal(const GlobalValue *GV) {
|
||||
unsigned Size = TD->getTypeAllocSize(GVar->getInitializer()->getType());
|
||||
GblSym->Size = Size;
|
||||
|
||||
if (S->IsCommon()) { // Symbol must go to a common section
|
||||
if (S->HasCommonSymbols()) { // Symbol must go to a common section
|
||||
GblSym->SectionIdx = ELFSection::SHN_COMMON;
|
||||
|
||||
// A new linkonce section is created for each global in the
|
||||
|
Reference in New Issue
Block a user