Lines Matching refs:shdr
74 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in __libdwfl_elf_address_range() local
75 if (unlikely (shdr == NULL)) in __libdwfl_elf_address_range()
78 if (shdr->sh_flags & SHF_ALLOC) in __libdwfl_elf_address_range()
80 const GElf_Xword align = shdr->sh_addralign ?: 1; in __libdwfl_elf_address_range()
82 if (shdr->sh_addr == 0 in __libdwfl_elf_address_range()
88 shdr->sh_addr = next; in __libdwfl_elf_address_range()
92 start = base = shdr->sh_addr; in __libdwfl_elf_address_range()
129 end = shdr->sh_addr + shdr->sh_size; in __libdwfl_elf_address_range()
130 if (likely (shdr->sh_addr != 0) in __libdwfl_elf_address_range()
131 && unlikely (! gelf_update_shdr (scn, shdr))) in __libdwfl_elf_address_range()
137 if (first || end < shdr->sh_addr + shdr->sh_size) in __libdwfl_elf_address_range()
138 end = shdr->sh_addr + shdr->sh_size; in __libdwfl_elf_address_range()
139 if (first || bias > shdr->sh_addr) in __libdwfl_elf_address_range()
141 bias = shdr->sh_addr; in __libdwfl_elf_address_range()
143 if ((shdr->sh_addr - bias + base) & (align - 1)) in __libdwfl_elf_address_range()