Lines Matching refs:section_headers

144 static Elf_Internal_Shdr *section_headers;  variable
251 #define SECTION_HEADER(I) (section_headers + SECTION_HEADER_INDEX (I))
547 if (streq (SECTION_NAME (section_headers + i), name)) in find_section()
548 return section_headers + i; in find_section()
1499 sec_name = SECTION_NAME (section_headers + sec_index); in dump_relocations()
3488 if (section_headers != NULL && elf_header.e_phnum == PN_XNUM) in process_file_header()
3489 printf (" (%ld)", (long) section_headers[0].sh_info); in process_file_header()
3495 if (section_headers != NULL && elf_header.e_shnum == 0) in process_file_header()
3496 printf (" (%ld)", (long) section_headers[0].sh_size); in process_file_header()
3500 if (section_headers != NULL && elf_header.e_shstrndx == SHN_XINDEX) in process_file_header()
3501 printf (" (%ld)", (long) section_headers[0].sh_link); in process_file_header()
3505 if (section_headers != NULL) in process_file_header()
3508 elf_header.e_phnum = section_headers[0].sh_info; in process_file_header()
3510 elf_header.e_shnum = section_headers[0].sh_size; in process_file_header()
3512 elf_header.e_shstrndx = section_headers[0].sh_link; in process_file_header()
3513 free (section_headers); in process_file_header()
3514 section_headers = NULL; in process_file_header()
3762 if (section_headers != NULL) in process_program_headers()
3811 if (do_segments && section_headers != NULL && string_table != NULL) in process_program_headers()
3822 section = section_headers; in process_program_headers()
3883 section_headers = cmalloc (num, sizeof (Elf_Internal_Shdr)); in get_32bit_section_headers()
3885 if (section_headers == NULL) in get_32bit_section_headers()
3891 for (i = 0, internal = section_headers; in get_32bit_section_headers()
3924 section_headers = cmalloc (num, sizeof (Elf_Internal_Shdr)); in get_64bit_section_headers()
3926 if (section_headers == NULL) in get_64bit_section_headers()
3932 for (i = 0, internal = section_headers; in get_64bit_section_headers()
3971 == (unsigned long) SECTION_HEADER_NUM (section - section_headers))) in get_32bit_elf_symbols()
4034 == (unsigned long) SECTION_HEADER_NUM (section - section_headers))) in get_64bit_elf_symbols()
4264 section_headers = NULL; in process_section_headers()
4343 for (i = 0, section = section_headers; in process_section_headers()
4471 for (i = 0, section = section_headers; in process_section_headers()
4651 if (section_headers == NULL) in process_section_groups()
4668 for (i = 0, section = section_headers; in process_section_groups()
4695 for (i = 0, section = section_headers, group = section_groups; in process_section_groups()
4736 group_name = SECTION_NAME (section_headers + sec_index); in process_section_groups()
4943 for (i = 0, section = section_headers; in process_relocs()
5045 ? section_headers [(a).section].sh_addr + (a).offset \
5233 for (relsec = section_headers; in slurp_ia64_unwind_table()
5234 relsec < section_headers + elf_header.e_shnum; in slurp_ia64_unwind_table()
5302 for (i = 0, sec = section_headers; i < elf_header.e_shnum; ++i, ++sec) in ia64_process_unwind()
5327 for (i = unwstart, sec = section_headers + unwstart; in ia64_process_unwind()
5359 for (i = 0, sec = section_headers; i < elf_header.e_shnum; in ia64_process_unwind()
5374 for (i = 0, sec = section_headers; i < elf_header.e_shnum; in ia64_process_unwind()
5645 for (relsec = section_headers; in slurp_hppa_unwind_table()
5646 relsec < section_headers + elf_header.e_shnum; in slurp_hppa_unwind_table()
5717 for (i = 0, sec = section_headers; i < elf_header.e_shnum; ++i, ++sec) in hppa_process_unwind()
5737 for (i = 0, sec = section_headers; i < elf_header.e_shnum; ++i, ++sec) in hppa_process_unwind()
6736 for (i = 0, section = section_headers; in process_version_sections()
7447 for (i = 0, section = section_headers; in process_symbol_table()
8073 for (relsec = section_headers; in debug_apply_rela_addends()
8074 relsec < section_headers + elf_header.e_shnum; in debug_apply_rela_addends()
8264 if (streq (SECTION_NAME (section_headers + i), cur->name)) in initialise_dumps_byname()
8287 for (i = 0, section = section_headers; in process_section_contents()
8556 for (i = 0, sect = section_headers; in process_arm_specific()
8787 Elf_Internal_Shdr *sect = section_headers; in process_mips_specific()
9066 for (i = 0, section = section_headers; in process_gnu_liblist()
9393 for (i = 0, section = section_headers; in process_note_sections()
9630 if (section_headers) in process_object()
9632 free (section_headers); in process_object()
9633 section_headers = NULL; in process_object()