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