Home | History | Annotate | Download | only in libdwfl

Lines Matching defs:shdr

109       GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
110 if (shdr == NULL)
113 if ((shdr->sh_flags & SHF_ALLOC) && shdr->sh_addr == 0)
118 &shdr->sh_addr) != DWFL_E_NOERROR)
120 shdr = gelf_getshdr (scn, &shdr_mem);
121 if (unlikely (shdr == NULL))
125 if (shdr->sh_flags & SHF_ALLOC)
128 shdr->sh_name);
136 newref->start = shdr->sh_addr + mod->main.bias;
137 newref->end = newref->start + shdr->sh_size;
144 && shdr->sh_size != 0
145 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA)
148 if (shdr->sh_info < elf_ndxscn (scn))
151 Elf_Scn *tscn = elf_getscn (mod->main.elf, shdr->sh_info);
200 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
201 if (shdr == NULL)
204 if (shdr->sh_size != 0
205 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA))
207 Elf_Scn *tscn = elf_getscn (mod->main.elf, shdr->sh_info);