diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-08 22:36:28 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-08 22:36:28 +0000 |
commit | cdaaff0c7aeb20760b3592c779598a41a2a7c9cb (patch) | |
tree | dc1d073fc0c34fdbb0197b9369dea7976c302c92 /lld/ELF/SymbolTable.h | |
parent | 9db419b9fd25a84c6e99f762e5189c8a326aa994 (diff) |
Remove DefinedSynthetic.
With this we have a single section hierarchy. It is a bit less code,
but the main advantage will be in a future patch being able to handle
foo = symbol_in_obj;
in a linker script. Currently that fails since we try to find the
output section of symbol_in_obj. With this we should be able to just
return an InputSection from the expression.
Diffstat (limited to 'lld/ELF/SymbolTable.h')
-rw-r--r-- | lld/ELF/SymbolTable.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lld/ELF/SymbolTable.h b/lld/ELF/SymbolTable.h index f6a2b1151f6..a5395f5beaa 100644 --- a/lld/ELF/SymbolTable.h +++ b/lld/ELF/SymbolTable.h @@ -58,10 +58,7 @@ public: Symbol *addRegular(StringRef Name, uint8_t StOther, uint8_t Type, uint64_t Value, uint64_t Size, uint8_t Binding, - InputSectionBase *Section, InputFile *File); - - Symbol *addSynthetic(StringRef N, const OutputSection *Section, - uint64_t Value, uint8_t StOther); + SectionBase *Section, InputFile *File); void addShared(SharedFile<ELFT> *F, StringRef Name, const Elf_Sym &Sym, const typename ELFT::Verdef *Verdef); |