Home
last modified time | relevance | path

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

/external/elfutils/libdwfl/
Drelocate.c48 GElf_Shdr refshdr_mem, *refshdr = gelf_getshdr (refscn, &refshdr_mem); in __libdwfl_relocate_value() local
49 if (refshdr == NULL) in __libdwfl_relocate_value()
52 if (refshdr->sh_addr == 0 && (refshdr->sh_flags & SHF_ALLOC)) in __libdwfl_relocate_value()
61 const char *name = elf_strptr (elf, *shstrndx, refshdr->sh_name); in __libdwfl_relocate_value()
66 name, shndx, refshdr, in __libdwfl_relocate_value()
67 &refshdr->sh_addr)) in __libdwfl_relocate_value()
70 if (refshdr->sh_addr == (Dwarf_Addr) -1l) in __libdwfl_relocate_value()
73 refshdr->sh_addr = 0; /* Make no adjustment below. */ in __libdwfl_relocate_value()
78 if (likely (refshdr->sh_addr != 0) in __libdwfl_relocate_value()
79 && unlikely (! gelf_update_shdr (refscn, refshdr))) in __libdwfl_relocate_value()
[all …]
/external/elfutils/src/
Delflint.c2701 GElf_Shdr *refshdr = gelf_getshdr (elf_getscn (ebl->elf, val), in check_group() local
2703 if (refshdr == NULL) in check_group()
2710 if (refshdr->sh_type == SHT_GROUP) in check_group()
2716 if ((refshdr->sh_flags & SHF_GROUP) == 0) in check_group()