Lines Matching refs:shdr
91 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in cache_sections() local
92 if (shdr == NULL) in cache_sections()
95 if ((shdr->sh_flags & SHF_ALLOC) && shdr->sh_addr == 0 in cache_sections()
101 &shdr->sh_addr) != DWFL_E_NOERROR) in cache_sections()
103 shdr = gelf_getshdr (scn, &shdr_mem); in cache_sections()
104 if (unlikely (shdr == NULL)) in cache_sections()
108 if (shdr->sh_flags & SHF_ALLOC) in cache_sections()
111 shdr->sh_name); in cache_sections()
119 newref->start = dwfl_adjusted_address (mod, shdr->sh_addr); in cache_sections()
120 newref->end = newref->start + shdr->sh_size; in cache_sections()
127 && shdr->sh_size != 0 in cache_sections()
128 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in cache_sections()
131 if (shdr->sh_info < elf_ndxscn (scn)) in cache_sections()
134 Elf_Scn *tscn = elf_getscn (mod->main.elf, shdr->sh_info); in cache_sections()
183 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in cache_sections() local
184 if (shdr == NULL) in cache_sections()
187 if (shdr->sh_size != 0 in cache_sections()
188 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA)) in cache_sections()
190 Elf_Scn *tscn = elf_getscn (mod->main.elf, shdr->sh_info); in cache_sections()