Lines Matching refs:refshdr
53 GElf_Shdr refshdr_mem, *refshdr = gelf_getshdr (refscn, &refshdr_mem); in __libdwfl_relocate_value() local
54 if (refshdr == NULL) in __libdwfl_relocate_value()
57 if (refshdr->sh_addr == 0 && (refshdr->sh_flags & SHF_ALLOC)) in __libdwfl_relocate_value()
66 const char *name = elf_strptr (elf, *shstrndx, refshdr->sh_name); in __libdwfl_relocate_value()
71 name, shndx, refshdr, in __libdwfl_relocate_value()
72 &refshdr->sh_addr)) in __libdwfl_relocate_value()
75 if (refshdr->sh_addr == (Dwarf_Addr) -1l) in __libdwfl_relocate_value()
78 refshdr->sh_addr = 0; /* Make no adjustment below. */ in __libdwfl_relocate_value()
83 if (likely (refshdr->sh_addr != 0) in __libdwfl_relocate_value()
84 && unlikely (! gelf_update_shdr (refscn, refshdr))) in __libdwfl_relocate_value()
88 if (refshdr->sh_flags & SHF_ALLOC) in __libdwfl_relocate_value()
90 *value += dwfl_adjusted_address (mod, refshdr->sh_addr); in __libdwfl_relocate_value()