mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +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:
@ -122,8 +122,10 @@ void MCSectionELF::PrintSwitchToSection(const TargetAsmInfo &TAI,
|
||||
OS << '\n';
|
||||
}
|
||||
|
||||
// IsCommon - True if this section contains only common symbols
|
||||
bool MCSectionELF::IsCommon() const {
|
||||
// HasCommonSymbols - True if this section holds common symbols, this is
|
||||
// indicated on the ELF object file by a symbol with SHN_COMMON section
|
||||
// header index.
|
||||
bool MCSectionELF::HasCommonSymbols() const {
|
||||
|
||||
if (strncmp(SectionName.c_str(), ".gnu.linkonce.", 14) == 0)
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user