Lines Matching refs:symtab_sec
886 static void get_mcount_loc(struct elf_mcount_loc *emloc, Elf_Shdr *symtab_sec, in get_mcount_loc() argument
890 int symentsize = shdr_entsize(symtab_sec); in get_mcount_loc()
893 sym = (void *)emloc->ehdr + shdr_offset(symtab_sec); in get_mcount_loc()
894 end_sym = (void *)sym + shdr_size(symtab_sec); in get_mcount_loc()
930 Elf_Shdr *symtab_sec = NULL; in do_sort() local
980 symtab_sec = shdr; in do_sort()
1040 if (!symtab_sec) { in do_sort()
1052 symtab = (const Elf_Sym *)((const char *)ehdr + shdr_offset(symtab_sec)); in do_sort()
1056 get_mcount_loc(&mstruct, symtab_sec, strtab); in do_sort()
1083 sym_start = (void *)ehdr + shdr_offset(symtab_sec); in do_sort()
1084 sym_end = sym_start + shdr_size(symtab_sec); in do_sort()
1085 symentsize = shdr_entsize(symtab_sec); in do_sort()