Lines Matching refs:shdr
92 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
93 if (unlikely (shdr == NULL))
96 if (shdr->sh_flags & SHF_ALLOC)
98 const GElf_Xword align = shdr->sh_addralign ?: 1;
100 if (shdr->sh_addr == 0
106 shdr->sh_addr = next;
110 start = base = shdr->sh_addr;
147 end = shdr->sh_addr + shdr->sh_size;
148 if (likely (shdr->sh_addr != 0)
149 && unlikely (! gelf_update_shdr (scn, shdr)))
155 if (first || end < shdr->sh_addr + shdr->sh_size)
156 end = shdr->sh_addr + shdr->sh_size;
157 if (first || bias > shdr->sh_addr)
159 bias = shdr->sh_addr;
161 if ((shdr->sh_addr - bias + base) & (align - 1))