Lines Matching refs:refshdr
63 GElf_Shdr refshdr_mem, *refshdr = gelf_getshdr (refscn, &refshdr_mem);
64 if (refshdr == NULL)
67 if (refshdr->sh_addr == 0 && (refshdr->sh_flags & SHF_ALLOC))
76 const char *name = elf_strptr (elf, *shstrndx, refshdr->sh_name);
81 name, shndx, refshdr,
82 &refshdr->sh_addr))
85 if (refshdr->sh_addr == (Dwarf_Addr) -1l)
88 refshdr->sh_addr = 0; /* Make no adjustment below. */
93 if (likely (refshdr->sh_addr != 0)
94 && unlikely (! gelf_update_shdr (refscn, refshdr)))
99 *value += refshdr->sh_addr;