forked from OSchip/llvm-project
[ELF] - Move template instantiations to the end of file. NFC.
To be consistent with other code, addresses post commit review comments. llvm-svn: 298102
This commit is contained in:
parent
b10daaf198
commit
a918957b05
|
@ -2249,15 +2249,6 @@ InputSection *ThunkSection::getTargetInputSection() const {
|
|||
return T->getTargetInputSection();
|
||||
}
|
||||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
template void PltSection::addEntry<ELF32LE>(SymbolBody &Sym);
|
||||
template void PltSection::addEntry<ELF32BE>(SymbolBody &Sym);
|
||||
template void PltSection::addEntry<ELF64LE>(SymbolBody &Sym);
|
||||
template void PltSection::addEntry<ELF64BE>(SymbolBody &Sym);
|
||||
}
|
||||
}
|
||||
|
||||
InputSection *InX::ARMAttributes;
|
||||
BssSection *InX::Bss;
|
||||
BssSection *InX::BssRelRo;
|
||||
|
@ -2272,6 +2263,11 @@ PltSection *InX::Iplt;
|
|||
StringTableSection *InX::ShStrTab;
|
||||
StringTableSection *InX::StrTab;
|
||||
|
||||
template void PltSection::addEntry<ELF32LE>(SymbolBody &Sym);
|
||||
template void PltSection::addEntry<ELF32BE>(SymbolBody &Sym);
|
||||
template void PltSection::addEntry<ELF64LE>(SymbolBody &Sym);
|
||||
template void PltSection::addEntry<ELF64BE>(SymbolBody &Sym);
|
||||
|
||||
template InputSection *elf::createCommonSection<ELF32LE>();
|
||||
template InputSection *elf::createCommonSection<ELF32BE>();
|
||||
template InputSection *elf::createCommonSection<ELF64LE>();
|
||||
|
|
Loading…
Reference in New Issue