diff options
Diffstat (limited to 'lld/ELF/Symbols.h')
-rw-r--r-- | lld/ELF/Symbols.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lld/ELF/Symbols.h b/lld/ELF/Symbols.h index 28cdb28939c..73b074ccd82 100644 --- a/lld/ELF/Symbols.h +++ b/lld/ELF/Symbols.h @@ -304,10 +304,9 @@ private: template <class ELFT> struct ElfSym { typedef typename llvm::object::ELFFile<ELFT>::Elf_Sym Elf_Sym; - // Used to represent an undefined symbol which we don't want - // to add to the output file's symbol table. The `IgnoredWeak` - // has weak binding and can be substituted. - static Elf_Sym IgnoredWeak; + // Used to represent an undefined symbol which we don't want to add to the + // output file's symbol table. It has weak binding and can be substituted. + static Elf_Sym Ignored; // The content for _end and end symbols. static Elf_Sym End; @@ -321,7 +320,7 @@ template <class ELFT> struct ElfSym { static Elf_Sym RelaIpltEnd; }; -template <class ELFT> typename ElfSym<ELFT>::Elf_Sym ElfSym<ELFT>::IgnoredWeak; +template <class ELFT> typename ElfSym<ELFT>::Elf_Sym ElfSym<ELFT>::Ignored; template <class ELFT> typename ElfSym<ELFT>::Elf_Sym ElfSym<ELFT>::End; template <class ELFT> typename ElfSym<ELFT>::Elf_Sym ElfSym<ELFT>::MipsGp; template <class ELFT> |