Lines Matching refs:sh_link
372 sec->shdr->sh_link = 0; in init_output_elf()
410 sec->shdr->sh_link = linker->strtab_sec_idx; in init_output_elf()
778 if (!sec->shdr->sh_link || sec->shdr->sh_link >= obj->sec_cnt) { in linker_sanity_check_elf_symtab()
780 sec->sec_idx, (size_t)sec->shdr->sh_link, obj->filename); in linker_sanity_check_elf_symtab()
783 link_sec = &obj->secs[sec->shdr->sh_link]; in linker_sanity_check_elf_symtab()
786 sec->sec_idx, (size_t)sec->shdr->sh_link, obj->filename); in linker_sanity_check_elf_symtab()
853 if (sec->shdr->sh_link != obj->symtab_sec_idx) { in linker_sanity_check_elf_relos()
855 sec->sec_idx, (size_t)sec->shdr->sh_link, obj->filename); in linker_sanity_check_elf_relos()
1024 shdr->sh_link = 0; in init_sec()
1218 int str_sec_idx = symtab->shdr->sh_link; in linker_append_elf_syms()
2036 dst_sec->shdr->sh_link = linker->symtab_sec_idx; in linker_append_elf_relos()
2102 int str_sec_idx = symtab->shdr->sh_link; in find_sym_by_name()
2637 shdr->sh_link = 0; in emit_elf_data_sec()