Lines Matching refs:shdr
102 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in cache_sections() local
103 if (shdr == NULL) in cache_sections()
106 if ((shdr->sh_flags & SHF_ALLOC) && shdr->sh_addr == 0 in cache_sections()
112 &shdr->sh_addr) != DWFL_E_NOERROR) in cache_sections()
114 shdr = gelf_getshdr (scn, &shdr_mem); in cache_sections()
115 if (unlikely (shdr == NULL)) in cache_sections()
119 if (shdr->sh_flags & SHF_ALLOC) in cache_sections()
122 shdr->sh_name); in cache_sections()
138 newref->start = dwfl_adjusted_address (mod, shdr->sh_addr); in cache_sections()
139 newref->end = newref->start + shdr->sh_size; in cache_sections()
146 && shdr->sh_size != 0 in cache_sections()
147 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in cache_sections()
150 if (shdr->sh_info < elf_ndxscn (scn)) in cache_sections()
153 Elf_Scn *tscn = elf_getscn (mod->main.elf, shdr->sh_info); in cache_sections()
205 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in cache_sections() local
206 if (shdr == NULL) in cache_sections()
209 if (shdr->sh_size != 0 in cache_sections()
210 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA)) in cache_sections()
212 Elf_Scn *tscn = elf_getscn (mod->main.elf, shdr->sh_info); in cache_sections()