diff options
-rw-r--r-- | lld/ELF/InputSection.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index 8b0536fe432..13d2203f21a 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -25,7 +25,7 @@ using namespace lld; using namespace lld::elf; template <class ELFT> -InputSectionBase<ELFT>::InputSectionBase(ObjectFile<ELFT> *File, +InputSectionBase<ELFT>::InputSectionBase(elf::ObjectFile<ELFT> *File, const Elf_Shdr *Header, Kind SectionKind) : Header(Header), File(File), SectionKind(SectionKind), Repl(this) { @@ -93,7 +93,8 @@ InputSectionBase<ELFT>::getRelocTarget(const Elf_Rela &Rel) const { } template <class ELFT> -InputSection<ELFT>::InputSection(ObjectFile<ELFT> *F, const Elf_Shdr *Header) +InputSection<ELFT>::InputSection(elf::ObjectFile<ELFT> *F, + const Elf_Shdr *Header) : InputSectionBase<ELFT>(F, Header, Base::Regular) {} template <class ELFT> @@ -331,12 +332,12 @@ void InputSection<ELFT>::replace(InputSection<ELFT> *Other) { template <class ELFT> SplitInputSection<ELFT>::SplitInputSection( - ObjectFile<ELFT> *File, const Elf_Shdr *Header, + elf::ObjectFile<ELFT> *File, const Elf_Shdr *Header, typename InputSectionBase<ELFT>::Kind SectionKind) : InputSectionBase<ELFT>(File, Header, SectionKind) {} template <class ELFT> -EHInputSection<ELFT>::EHInputSection(ObjectFile<ELFT> *F, +EHInputSection<ELFT>::EHInputSection(elf::ObjectFile<ELFT> *F, const Elf_Shdr *Header) : SplitInputSection<ELFT>(F, Header, InputSectionBase<ELFT>::EHFrame) { // Mark .eh_frame sections as live by default because there are @@ -424,7 +425,7 @@ MergeInputSection<ELFT>::getOffset(uintX_t Offset) { } template <class ELFT> -MipsReginfoInputSection<ELFT>::MipsReginfoInputSection(ObjectFile<ELFT> *F, +MipsReginfoInputSection<ELFT>::MipsReginfoInputSection(elf::ObjectFile<ELFT> *F, const Elf_Shdr *Hdr) : InputSectionBase<ELFT>(F, Hdr, InputSectionBase<ELFT>::MipsReginfo) { // Initialize this->Reginfo. |