Revert "[ELF][ARM] Use SyntheticSections for Thunks"
This reverts commit r293283 because it broke MSVC build. llvm-svn: 293352
This commit is contained in:
@@ -488,7 +488,7 @@ SymbolBody *elf::ObjectFile<ELFT>::createSymbolBody(const Elf_Sym *Sym) {
|
||||
StringRefZ Name = this->StringTable.data() + Sym->st_name;
|
||||
if (Sym->st_shndx == SHN_UNDEF)
|
||||
return new (BAlloc)
|
||||
Undefined(Name, /*IsLocal=*/true, StOther, Type, this);
|
||||
Undefined<ELFT>(Name, /*IsLocal=*/true, StOther, Type, this);
|
||||
|
||||
return new (BAlloc) DefinedRegular<ELFT>(Name, /*IsLocal=*/true, StOther,
|
||||
Type, Value, Size, Sec, this);
|
||||
|
||||
Reference in New Issue
Block a user