Searched refs:ehdr (Results 1 – 3 of 3) sorted by relevance
216 return w2(ehdr->e_shnum); in get_shnum()222 ehdr->e_shnum = 0; in set_shnum()345 if (uwrite(ehdr, sizeof(*ehdr)) < 0) in append_func()379 + (void *)ehdr); in get_sym_str_and_relp()384 + (void *)ehdr); in get_sym_str_and_relp()387 + (void *)ehdr); in get_sym_str_and_relp()456 + (void *)ehdr); in nop_mcount()526 + (void *)ehdr); in find_secsym_ndx()610 + (void *)ehdr); in do_func()614 + (void *)ehdr); in do_func()[all …]
130 return e.ehdr_shoff(ehdr); in ehdr_shoff()686 Elf_Ehdr *ehdr; member702 shdr_start = (Elf_Shdr *)((char *)ehdr + ehdr_shoff(ehdr)); in fill_relocs()705 shnum = ehdr_shnum(ehdr); in fill_relocs()757 shdr_start = (Elf_Shdr *)((char *)ehdr + ehdr_shoff(ehdr)); in replace_relocs()760 shnum = ehdr_shnum(ehdr); in replace_relocs()822 Elf_Ehdr *ehdr = emloc->ehdr; in sort_mcount_loc() local960 shdr_start = (Elf_Shdr *)((char *)ehdr + ehdr_shoff(ehdr)); in do_sort()1055 mstruct.ehdr = ehdr; in do_sort()1223 Elf_Ehdr *ehdr = addr; in do_file() local[all …]
514 Elf32_Ehdr *ehdr; in do_file() local517 ehdr = mmap_file(fname); in do_file()518 if (!ehdr) in do_file()524 switch (ehdr->e_ident[EI_DATA]) { in do_file()528 ehdr->e_ident[EI_DATA], fname); in do_file()558 w2(ehdr->e_type) != ET_REL || in do_file()565 switch (w2(ehdr->e_machine)) { in do_file()568 w2(ehdr->e_machine), fname); in do_file()610 switch (ehdr->e_ident[EI_CLASS]) { in do_file()613 ehdr->e_ident[EI_CLASS], fname); in do_file()[all …]
Completed in 9 milliseconds