Revert "[ELF][ARM] Use SyntheticSections for Thunks"

This reverts commit r293283 because it broke MSVC build.

llvm-svn: 293352
This commit is contained in:
Rui Ueyama
2017-01-28 00:48:06 +00:00
parent d0852873e5
commit f20ee9f11a
20 changed files with 464 additions and 509 deletions

View File

@@ -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);