Lines Matching refs:sections
562 struct debug_section_info sections[DEBUG_MAX]; in elf_add() local
697 memset (sections, 0, sizeof sections); in elf_add()
727 sections[j].offset = shdr->sh_offset; in elf_add()
728 sections[j].size = shdr->sh_size; in elf_add()
804 if (sections[i].size == 0) in elf_add()
806 if (min_offset == 0 || sections[i].offset < min_offset) in elf_add()
807 min_offset = sections[i].offset; in elf_add()
808 end = sections[i].offset + sections[i].size; in elf_add()
834 if (sections[i].size == 0) in elf_add()
835 sections[i].data = NULL; in elf_add()
837 sections[i].data = ((const unsigned char *) debug_view.data in elf_add()
838 + (sections[i].offset - min_offset)); in elf_add()
842 sections[DEBUG_INFO].data, in elf_add()
843 sections[DEBUG_INFO].size, in elf_add()
844 sections[DEBUG_LINE].data, in elf_add()
845 sections[DEBUG_LINE].size, in elf_add()
846 sections[DEBUG_ABBREV].data, in elf_add()
847 sections[DEBUG_ABBREV].size, in elf_add()
848 sections[DEBUG_RANGES].data, in elf_add()
849 sections[DEBUG_RANGES].size, in elf_add()
850 sections[DEBUG_STR].data, in elf_add()
851 sections[DEBUG_STR].size, in elf_add()