Lines Matching defs:shdr
90 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
91 if (unlikely (shdr == NULL))
94 if (shdr->sh_flags & SHF_ALLOC)
96 const GElf_Xword align = shdr->sh_addralign ?: 1;
98 if (shdr->sh_addr == 0
104 shdr->sh_addr = next;
108 start = base = shdr->sh_addr;
145 end = shdr->sh_addr + shdr->sh_size;
146 if (likely (shdr->sh_addr != 0)
147 && unlikely (! gelf_update_shdr (scn, shdr)))
153 if (first || end < shdr->sh_addr + shdr->sh_size)
154 end = shdr->sh_addr + shdr->sh_size;
155 if (first || bias > shdr->sh_addr)
157 bias = shdr->sh_addr;
159 if ((shdr->sh_addr - bias + base) & (align - 1))