Lines Matching refs:st_shndx
433 init_sym->st_shndx = SHN_UNDEF; in init_output_elf()
814 || sym->st_other != 0 || sym->st_shndx != 0 in linker_sanity_check_elf_symtab()
831 if (sym->st_shndx == 0) { in linker_sanity_check_elf_symtab()
841 if (sym->st_shndx < SHN_LORESERVE && sym->st_shndx >= obj->sec_cnt) { in linker_sanity_check_elf_symtab()
843 i, sec->sec_idx, (size_t)sym->st_shndx, obj->filename); in linker_sanity_check_elf_symtab()
1859 sym_is_extern = sym->st_shndx == SHN_UNDEF; in linker_append_elf_sym()
1866 } else if (sym->st_shndx < SHN_LORESERVE) { in linker_append_elf_sym()
1867 src_sec = &obj->secs[sym->st_shndx]; in linker_append_elf_sym()
1977 dst_sym->st_shndx = dst_sec->sec_idx; in linker_append_elf_sym()
2008 dst_sym->st_shndx = dst_sec ? dst_sec->sec_idx : sym->st_shndx; in linker_append_elf_sym()
2105 struct src_sec *sec = &obj->secs[src_sym->st_shndx]; in linker_append_elf_relos()
2145 if (sym->st_shndx != sec_idx) in find_sym_by_name()