Lines Matching refs:relocatablesec

422    struct Dwarf_Section_s **relocatablesec, int *error)  in find_section_to_relocate()  argument
424 MATCH_REL_SEC(section_index,dbg->de_debug_info,relocatablesec); in find_section_to_relocate()
425 MATCH_REL_SEC(section_index,dbg->de_debug_abbrev,relocatablesec); in find_section_to_relocate()
426 MATCH_REL_SEC(section_index,dbg->de_debug_line,relocatablesec); in find_section_to_relocate()
427 MATCH_REL_SEC(section_index,dbg->de_debug_loc,relocatablesec); in find_section_to_relocate()
428 MATCH_REL_SEC(section_index,dbg->de_debug_aranges,relocatablesec); in find_section_to_relocate()
429 MATCH_REL_SEC(section_index,dbg->de_debug_macinfo,relocatablesec); in find_section_to_relocate()
430 MATCH_REL_SEC(section_index,dbg->de_debug_pubnames,relocatablesec); in find_section_to_relocate()
431 MATCH_REL_SEC(section_index,dbg->de_debug_ranges,relocatablesec); in find_section_to_relocate()
432 MATCH_REL_SEC(section_index,dbg->de_debug_frame,relocatablesec); in find_section_to_relocate()
433 MATCH_REL_SEC(section_index,dbg->de_debug_frame_eh_gnu,relocatablesec); in find_section_to_relocate()
434 MATCH_REL_SEC(section_index,dbg->de_debug_pubtypes,relocatablesec); in find_section_to_relocate()
435 MATCH_REL_SEC(section_index,dbg->de_debug_funcnames,relocatablesec); in find_section_to_relocate()
436 MATCH_REL_SEC(section_index,dbg->de_debug_typenames,relocatablesec); in find_section_to_relocate()
437 MATCH_REL_SEC(section_index,dbg->de_debug_varnames,relocatablesec); in find_section_to_relocate()
438 MATCH_REL_SEC(section_index,dbg->de_debug_weaknames,relocatablesec); in find_section_to_relocate()
439 MATCH_REL_SEC(section_index,dbg->de_debug_types,relocatablesec); in find_section_to_relocate()
440 MATCH_REL_SEC(section_index,dbg->de_debug_macro,relocatablesec); in find_section_to_relocate()
441 MATCH_REL_SEC(section_index,dbg->de_debug_rnglists,relocatablesec); in find_section_to_relocate()
442 MATCH_REL_SEC(section_index,dbg->de_debug_loclists,relocatablesec); in find_section_to_relocate()
443 MATCH_REL_SEC(section_index,dbg->de_debug_aranges,relocatablesec); in find_section_to_relocate()
444 MATCH_REL_SEC(section_index,dbg->de_debug_sup,relocatablesec); in find_section_to_relocate()
445 MATCH_REL_SEC(section_index,dbg->de_debug_str_offsets,relocatablesec); in find_section_to_relocate()
446 MATCH_REL_SEC(section_index,dbg->de_debug_addr,relocatablesec); in find_section_to_relocate()
845 struct Dwarf_Section_s *relocatablesec, in loop_through_relocations() argument
852 Dwarf_Small *relocation_section = relocatablesec->dss_reloc_data; in loop_through_relocations()
854 relocatablesec->dss_reloc_size; in loop_through_relocations()
855 Dwarf_Unsigned relocation_section_entrysize = relocatablesec->dss_reloc_entrysize; in loop_through_relocations()
860 int is_rela = relocatablesec->dss_is_rela; in loop_through_relocations()
874 if(!relocatablesec->dss_data_was_malloc) { in loop_through_relocations()
879 mspace = malloc(relocatablesec->dss_size); in loop_through_relocations()
885 memcpy(mspace,relocatablesec->dss_data,relocatablesec->dss_size); in loop_through_relocations()
886 relocatablesec->dss_data = mspace; in loop_through_relocations()
887 relocatablesec->dss_data_was_malloc = TRUE; in loop_through_relocations()
889 target_section = relocatablesec->dss_data; in loop_through_relocations()
895 relocatablesec->dss_size, in loop_through_relocations()
916 struct Dwarf_Section_s * relocatablesec = 0; in dwarf_elf_object_relocate_a_section() local
923 res = find_section_to_relocate(dbg, section_index,&relocatablesec,error); in dwarf_elf_object_relocate_a_section()
930 if (relocatablesec->dss_reloc_index == 0 ) { in dwarf_elf_object_relocate_a_section()
937 relocatablesec->dss_reloc_index, in dwarf_elf_object_relocate_a_section()
938 &relocatablesec->dss_reloc_data, error); in dwarf_elf_object_relocate_a_section()
948 if (obj->symtab->dss_index != relocatablesec->dss_reloc_link) { in dwarf_elf_object_relocate_a_section()
979 res = loop_through_relocations(dbg,obj,relocatablesec,error); in dwarf_elf_object_relocate_a_section()