Home
last modified time | relevance | path

Searched refs:refshdr (Results 1 – 2 of 2) sorted by relevance

/external/elfutils/libdwfl/
Drelocate.c53 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()
[all …]
/external/elfutils/src/
Delflint.c2733 GElf_Shdr *refshdr = gelf_getshdr (elf_getscn (ebl->elf, val), in check_group() local
2735 if (refshdr == NULL) in check_group()
2742 if (refshdr->sh_type == SHT_GROUP) in check_group()
2748 if ((refshdr->sh_flags & SHF_GROUP) == 0) in check_group()