Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/MC/ELFObjectWriter.cpp
Show First 20 Lines • Show All 1,151 Lines • ▼ Show 20 Lines | case ELF::SHT_SYMTAB_SHNDX: | ||||
break; | break; | ||||
case ELF::SHT_GROUP: | case ELF::SHT_GROUP: | ||||
sh_link = SymbolTableIndex; | sh_link = SymbolTableIndex; | ||||
sh_info = GroupSymbolIndex; | sh_info = GroupSymbolIndex; | ||||
break; | break; | ||||
} | } | ||||
if (TargetObjectWriter->getEMachine() == ELF::EM_ARM && | if (Section.getFlags() & ELF::SHF_LINK_ORDER) | ||||
Section.getType() == ELF::SHT_ARM_EXIDX) | |||||
sh_link = SectionIndexMap.lookup(Section.getAssociatedSection()); | sh_link = SectionIndexMap.lookup(Section.getAssociatedSection()); | ||||
WriteSecHdrEntry(StrTabBuilder.getOffset(Section.getSectionName()), | WriteSecHdrEntry(StrTabBuilder.getOffset(Section.getSectionName()), | ||||
Section.getType(), Section.getFlags(), 0, Offset, Size, | Section.getType(), Section.getFlags(), 0, Offset, Size, | ||||
sh_link, sh_info, Section.getAlignment(), | sh_link, sh_info, Section.getAlignment(), | ||||
Section.getEntrySize()); | Section.getEntrySize()); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 202 Lines • Show Last 20 Lines |