Home | History | Annotate | Download | only in elfcopy

Lines Matching refs:sh_offset

193             shdr_info[shdridx].shdr.sh_offset = shdr_info[shdridx].old_shdr.sh_offset;
251 shdr_info[cnt].shdr.sh_offset,
1570 ASSERT(old_range_info->shdr.sh_addr == old_range_info->shdr.sh_offset);
1571 ASSERT(old_range_info->old_shdr.sh_addr == old_range_info->old_shdr.sh_offset);
2108 if (shdr->sh_offset >= phdr->p_offset
2109 && (shdr->sh_offset + shdr->sh_size
2157 #define SECT_FILE_END(s) ((s).sh_offset + (s).sh_size)
2165 if (shdr_info[inner].shdr.sh_offset < start) {
2166 start = shdr_info[inner].shdr.sh_offset;
2435 shdr_info[scnidx].shdr.sh_offset -
2436 shdr_info[scnidx].old_shdr.sh_offset;
2506 ASSERT(((Elf64_Sxword)shdr_info->shdr.sh_offset) + delta >= 0);
2507 shdr_info->shdr.sh_offset += delta;
2519 Elf64_Off new_offset = shdr_info->shdr.sh_offset;
2523 ASSERT(shdr_info->shdr.sh_offset == new_offset);
2527 shdr_info->old_shdr.sh_offset,
2528 shdr_info->shdr.sh_offset,
2529 (shdr_info->old_shdr.sh_offset ==
2530 shdr_info->shdr.sh_offset ? " (SAME)" : ""));
2534 Note that we compare against the old_shdr.sh_offset because we just modified shdr.sh_offset!
2540 shdr_info->shdr.sh_addr == shdr_info->old_shdr.sh_offset);
2615 shdr_info->shdr.sh_offset,
2625 if (offset < shdr_info->shdr.sh_offset + filesz) {
2626 offset = shdr_info->shdr.sh_offset + filesz;
2653 Elf64_Sxword delta = offset - shdr_info[start].shdr.sh_offset;
2664 shdr_info[start].old_shdr.sh_offset, shdr_info[start].old_shdr.sh_offset,
2734 if (shdr_info[si].old_shdr.sh_offset == phdr_info[pi].p_offset)
2874 o1 = (s1->sh_offset > s2->sh_offset)? s1->sh_offset : s2->sh_offset;
2875 o2 = ((s1->sh_offset + s1->sh_size < s2->sh_offset + s2->sh_size)?
2876 (s1->sh_offset + s1->sh_size) : (s2->sh_offset + s2->sh_size));
2912 o1 = p->p_offset > s->sh_offset ? p->p_offset : s->sh_offset;
2913 sh_offset + s->sh_size) ?
2914 (p->p_offset + p->p_filesz) : (s->sh_offset + s->sh_size));
2949 FAILIF ((addralign - 1) & shdr_info[si].shdr.sh_offset,
2952 shdr_info[si].shdr.sh_offset,