Lines Matching defs:plt_hdr
2534 const ELFSectionHeader *plt_hdr) {
2540 plt_hdr->sh_addralign
2541 ? llvm::alignTo(plt_hdr->sh_entsize, plt_hdr->sh_addralign)
2542 : plt_hdr->sh_entsize;
2544 // Some linkers e.g ld for arm, fill plt_hdr->sh_entsize field incorrectly.
2549 // The linker haven't set the plt_hdr->sh_entsize field. Try to guess the
2554 if (plt_hdr->sh_addralign)
2555 plt_entsize = plt_hdr->sh_size / plt_hdr->sh_addralign /
2556 (num_relocations + 1) * plt_hdr->sh_addralign;
2558 plt_entsize = plt_hdr->sh_size / (num_relocations + 1);
2561 elf_xword plt_offset = plt_hdr->sh_size - num_relocations * plt_entsize;
2569 const ELFSectionHeader *plt_hdr, const ELFSectionHeader *sym_hdr,
2578 GetPltEntrySizeAndOffset(rel_hdr, plt_hdr);
2651 const ELFSectionHeaderInfo *plt_hdr = GetSectionHeaderByIndex(plt_id);
2652 if (!plt_hdr)
2697 rel_hdr, plt_hdr, sym_hdr, plt_section_sp,