Home
last modified time | relevance | path

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

/third_party/elfutils/libdwfl/
Drelocate.c510 GElf_Shdr *tshdr = gelf_getshdr (tscn, &tshdr_mem); in relocate_section() local
511 if (tshdr == NULL) in relocate_section()
514 const char *tname = elf_strptr (relocated, shstrndx, tshdr->sh_name); in relocate_section()
526 if ((tshdr->sh_flags & SHF_COMPRESSED) != 0) in relocate_section()
531 tshdr = gelf_getshdr (tscn, &tshdr_mem); in relocate_section()
532 if (tshdr == NULL) in relocate_section()
535 if (unlikely (tshdr->sh_type == SHT_NOBITS) in relocate_section()
536 || unlikely (tshdr->sh_size == 0)) in relocate_section()
576 || tshdr->sh_offset < ehsize)) in relocate_section()
591 if (unlikely (shdrs_start < tshdr->sh_offset + tshdr->sh_size in relocate_section()
[all …]
/third_party/elfutils/src/
Dstrip.c586 GElf_Shdr *tshdr = gelf_getshdr (tscn, &tshdr_mem); in remove_debug_relocations() local
587 if (tshdr == NULL in remove_debug_relocations()
588 || tshdr->sh_type == SHT_NOBITS in remove_debug_relocations()
589 || tshdr->sh_size == 0 in remove_debug_relocations()
590 || (tshdr->sh_flags & SHF_ALLOC) != 0) in remove_debug_relocations()
594 tshdr->sh_name); in remove_debug_relocations()