forked from OSchip/llvm-project
parent
e3c374ac33
commit
06ad4948f5
|
@ -258,10 +258,10 @@ PIC16TargetAsmInfo::getSpecialCasedSectionGlobals(const GlobalValue *GV,
|
|||
if (SectName.compare(0, AddrStr.length(), AddrStr) == 0) {
|
||||
std::string SectAddr = SectName.substr(AddrStr.length());
|
||||
return CreateSectionForGlobal(GVar, SectAddr);
|
||||
} else {
|
||||
// Create the section specified with section attribute.
|
||||
return CreateSectionForGlobal(GVar);
|
||||
}
|
||||
|
||||
// Create the section specified with section attribute.
|
||||
return CreateSectionForGlobal(GVar);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue