Home
last modified time | relevance | path

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

/external/elfutils/0.153/libdwfl/
Drelocate.c65 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()
[all …]
/external/elfutils/0.153/src/
Delflint.c2489 GElf_Shdr *refshdr = gelf_getshdr (elf_getscn (ebl->elf, val), in check_group() local
2491 if (refshdr == NULL) in check_group()
2498 if (refshdr->sh_type == SHT_GROUP) in check_group()
2504 if ((refshdr->sh_flags & SHF_GROUP) == 0) in check_group()