diff options
Diffstat (limited to 'ELF/InputSection.h')
-rw-r--r-- | ELF/InputSection.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ELF/InputSection.h b/ELF/InputSection.h index 24491a2e17c08..26956c72a960e 100644 --- a/ELF/InputSection.h +++ b/ELF/InputSection.h @@ -177,16 +177,13 @@ public: // ftp://www.linux-mips.org/pub/linux/mips/doc/ABI/mipsabi.pdf template <class ELFT> class MipsReginfoInputSection : public InputSectionBase<ELFT> { - typedef llvm::object::Elf_Mips_RegInfo<ELFT> Elf_Mips_RegInfo; typedef typename llvm::object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; public: - MipsReginfoInputSection(ObjectFile<ELFT> *F, const Elf_Shdr *Header); - - uint32_t getGeneralMask() const; - uint32_t getGp0() const; - + MipsReginfoInputSection(ObjectFile<ELFT> *F, const Elf_Shdr *Hdr); static bool classof(const InputSectionBase<ELFT> *S); + + const llvm::object::Elf_Mips_RegInfo<ELFT> *Reginfo; }; } // namespace elf2 |