Lines Matching refs:shdr
272 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
274 if (shdr == NULL)
282 switch (shdr->sh_type)
291 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize;
406 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
408 if (shdr == NULL)
417 if ((shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA)
420 symscn = elf_getscn (elf, shdr->sh_link);
425 (size_t) shdr->sh_link, fname, elf_errmsg (-1));
431 if (shdr->sh_type == SHT_REL)
436 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
454 else if (shdr->sh_type == SHT_RELA)
459 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
542 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem);
543 if (shdr != NULL)
552 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize;
576 const char *lowstr = elf_strptr (elf, shdr->sh_link,
601 lowstr, elf_strptr (elf, shdr->sh_link,
613 elf_strptr (elf, shdr->sh_link, sym->st_name));