summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Symbols.h')
-rw-r--r--lld/ELF/Symbols.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/lld/ELF/Symbols.h b/lld/ELF/Symbols.h
index 3eea383f8dd..6f65ea1a72e 100644
--- a/lld/ELF/Symbols.h
+++ b/lld/ELF/Symbols.h
@@ -300,11 +300,11 @@ 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 `IgnoreUndef`
- // has weak binding and can be substituted. The `InoreUndefStrong`
- // has global binding and gets priority over symbols from shared libs.
- static Elf_Sym IgnoreUndef;
- static Elf_Sym IgnoreUndefStrong;
+ // to add to the output file's symbol table. The `IgnoredWeak`
+ // has weak binding and can be substituted. The `Ignore` has
+ // global binding and gets priority over symbols from shared libs.
+ static Elf_Sym IgnoredWeak;
+ static Elf_Sym Ignored;
// The content for _end and end symbols.
static Elf_Sym End;
@@ -318,9 +318,8 @@ template <class ELFT> struct ElfSym {
static Elf_Sym RelaIpltEnd;
};
-template <class ELFT> typename ElfSym<ELFT>::Elf_Sym ElfSym<ELFT>::IgnoreUndef;
-template <class ELFT>
-typename ElfSym<ELFT>::Elf_Sym ElfSym<ELFT>::IgnoreUndefStrong;
+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>
OpenPOWER on IntegriCloud