Lines Matching refs:shdr_mem
279 GElf_Shdr shdr_mem;
280 ELF_CHECK (gelf_update_shdr (newscn, gelf_getshdr (scn, &shdr_mem)),
352 GElf_Shdr shdr_mem;
353 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, i), &shdr_mem);
383 GElf_Shdr shdr_mem;
384 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem);
432 GElf_Shdr shdr_mem;
433 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem);
540 GElf_Shdr shdr_mem;
541 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
557 GElf_Shdr shdr_mem;
558 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem);
791 GElf_Shdr shdr_mem;
793 &shdr_mem);
1060 GElf_Shdr shdr_mem;
1061 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
1186 GElf_Shdr shdr_mem;
1187 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
1208 GElf_Shdr shdr_mem;
1209 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
1310 GElf_Shdr shdr_mem;
1311 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
1431 GElf_Shdr shdr_mem;
1432 GElf_Shdr *shdr = gelf_getshdr (unstripped_symtab, &shdr_mem);
1484 GElf_Shdr shdr_mem;
1485 GElf_Shdr *shdr = gelf_getshdr (sec->outscn, &shdr_mem);
1494 || !(shdr_mem.sh_flags & SHF_ALLOC)
1495 || shdr_mem.sh_addr == 0)
1496 shdr_mem.sh_addr = sec->shdr.sh_addr;
1498 shdr_mem.sh_type = sec->shdr.sh_type;
1499 shdr_mem.sh_size = sec->shdr.sh_size;
1500 shdr_mem.sh_info = sec->shdr.sh_info;
1501 shdr_mem.sh_link = sec->shdr.sh_link;
1503 shdr_mem.sh_link = ndx_section[sec->shdr.sh_link - 1];
1504 if (shdr_mem.sh_flags & SHF_INFO_LINK)
1505 shdr_mem.sh_info = ndx_section[sec->shdr.sh_info - 1];
1508 shdr_mem.sh_name = ebl_strtaboffset (sec->strent);
1518 if (stripped_ehdr->e_type != ET_REL && (shdr_mem.sh_flags & SHF_ALLOC))
1520 shdr_mem.sh_offset = sec->shdr.sh_offset;
1523 const GElf_Off end_offset = (shdr_mem.sh_offset
1524 + (shdr_mem.sh_type == SHT_NOBITS
1525 ? 0 : shdr_mem.sh_size));
1530 update_shdr (sec->outscn, &shdr_mem);
1532 if (shdr_mem.sh_type == SHT_SYMTAB || shdr_mem.sh_type == SHT_DYNSYM)
1538 for (size_t i = 1; i < shdr_mem.sh_size / shdr_mem.sh_entsize; ++i)
1570 if (shdr_mem.sh_type == SHT_SYMTAB)
1572 if (shdr_mem.sh_type == SHT_DYNSYM)
1591 GElf_Shdr shdr_mem;
1592 GElf_Shdr *shdr = gelf_getshdr (unstripped_symtab, &shdr_mem);
1780 GElf_Shdr shdr_mem;
1781 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);