Lines Matching refs:st_shndx
433 init_sym->st_shndx = SHN_UNDEF; in init_output_elf()
795 || sym->st_other != 0 || sym->st_shndx != 0 in linker_sanity_check_elf_symtab()
812 if (sym->st_shndx == 0) { in linker_sanity_check_elf_symtab()
822 if (sym->st_shndx < SHN_LORESERVE && sym->st_shndx >= obj->sec_cnt) { in linker_sanity_check_elf_symtab()
824 i, sec->sec_idx, (size_t)sym->st_shndx, obj->filename); in linker_sanity_check_elf_symtab()
1814 sym_is_extern = sym->st_shndx == SHN_UNDEF; in linker_append_elf_sym()
1821 } else if (sym->st_shndx < SHN_LORESERVE) { in linker_append_elf_sym()
1822 src_sec = &obj->secs[sym->st_shndx]; in linker_append_elf_sym()
1932 dst_sym->st_shndx = dst_sec->sec_idx; in linker_append_elf_sym()
1963 dst_sym->st_shndx = dst_sec ? dst_sec->sec_idx : sym->st_shndx; in linker_append_elf_sym()
2067 struct src_sec *sec = &obj->secs[src_sym->st_shndx]; in linker_append_elf_relos()
2107 if (sym->st_shndx != sec_idx) in find_sym_by_name()