Searched refs:SHN_UNDEF (Results 1 – 23 of 23) sorted by relevance
76 if (match->addr.section != SHN_UNDEF) in for_each() 151 sym->addr.section = SHN_UNDEF; in symbol_read_exports() 288 if (sym->addr.section == SHN_UNDEF) { in set_symbol_addr() 307 if (addr.section != SHN_UNDEF) in elf_set_symbol_addr()
48 if (sym->st_shndx == SHN_UNDEF) in elf_type() 84 if (src->st_shndx == SHN_UNDEF || in is_core_symbol() 281 if (sym->st_shndx == SHN_UNDEF) in find_kallsyms_symbol() 413 sym->st_shndx != SHN_UNDEF) in __find_kallsyms_symbol_value() 482 if (sym->st_shndx == SHN_UNDEF) in module_kallsyms_on_each_symbol()
1551 case SHN_UNDEF: in simplify_symbols() 1971 if (info->hdr->e_shstrndx == SHN_UNDEF in elf_validity_cache_secstrings() 2155 if (str_idx == SHN_UNDEF || str_idx >= info->hdr->e_shnum) { in elf_validity_cache_index_str() 2156 pr_err("Invalid ELF sh_link!=SHN_UNDEF(%d) or (sh_link(%d) >= hdr->e_shnum(%d)\n", in elf_validity_cache_index_str()
74 if (hdr->e_shnum == SHN_UNDEF) in get_offset_from_address() 190 if (hdr->e_shnum == SHN_UNDEF) in get_symbol_table()
706 if (shnum == SHN_UNDEF) in fill_relocs() 761 if (shnum == SHN_UNDEF) in replace_relocs() 970 if (shnum == SHN_UNDEF) in do_sort()
198 if (shndx > SHN_UNDEF && shndx < SHN_LORESERVE) in get_symindex()
162 if (shnum == SHN_UNDEF || shstrndx == SHN_XINDEX) { in read_ehdr() 171 if (shnum == SHN_UNDEF) in read_ehdr()
45 if (sym[i].st_shndx == SHN_UNDEF) { in module_frob_arch_sections()
292 if (sym->st_shndx != SHN_UNDEF && in vdso_sym()
207 if (sym->st_shndx == SHN_UNDEF) in apply_relocate_add()
240 assert_ne(idx, SHN_UNDEF, "%u"); in section_by_idx()
307 #define SHN_UNDEF 0 macro
341 if (sym->st_shndx == SHN_UNDEF) { in arch_kexec_apply_relocations_add()
138 if (symbols[i].st_shndx == SHN_UNDEF && in module_frob_arch_sections()
395 if (syms[i].st_shndx == SHN_UNDEF) { in dedotify() 914 if (sym->st_shndx == SHN_UNDEF || in apply_relocate_add()
529 if (sym->st_shndx == SHN_UNDEF) { in arch_kexec_apply_relocations_add()
513 case SHN_UNDEF: in simplify_symbols()
123 sym->st_shndx != SHN_UNDEF; in elf_sym__is_function() 130 sym->st_shndx != SHN_UNDEF; in elf_sym__is_object() 137 sym->st_shndx != SHN_UNDEF && in elf_sym__is_label()
475 if (hdr->e_shnum == SHN_UNDEF) { in parse_elf() 623 case SHN_UNDEF: in handle_symbol()
1170 if (syms[k].st_shndx == SHN_UNDEF || in kexec_purgatory_find_symbol()
484 init_sym->st_shndx = SHN_UNDEF; in init_output_elf() 2011 sym_is_extern = sym->st_shndx == SHN_UNDEF; in linker_append_elf_sym()
4008 return sym->st_shndx == SHN_UNDEF && in sym_is_extern()
1434 elf->e_shstrndx = SHN_UNDEF; in fill_extnum_info()