forked from OSchip/llvm-project
parent
23604a8399
commit
d30bd1321f
|
|
@ -930,11 +930,10 @@ template <class ELFT> void Writer<ELFT>::setReservedSymbolSections() {
|
||||||
if (OutputSections[I] == LastRW->FirstSec)
|
if (OutputSections[I] == LastRW->FirstSec)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
for (; I < OutputSections.size(); ++I) {
|
for (; I < OutputSections.size(); ++I)
|
||||||
if (OutputSections[I]->Type != SHT_NOBITS)
|
if (OutputSections[I]->Type == SHT_NOBITS)
|
||||||
continue;
|
break;
|
||||||
break;
|
|
||||||
}
|
|
||||||
if (ElfSym::Edata1)
|
if (ElfSym::Edata1)
|
||||||
ElfSym::Edata1->Section = OutputSections[I - 1];
|
ElfSym::Edata1->Section = OutputSections[I - 1];
|
||||||
if (ElfSym::Edata2)
|
if (ElfSym::Edata2)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue