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);
376 GElf_Shdr shdr_mem;
377 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem);
426 GElf_Shdr shdr_mem;
427 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem);
535 GElf_Shdr shdr_mem;
536 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
552 GElf_Shdr shdr_mem;
553 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem);
788 GElf_Shdr shdr_mem;
790 &shdr_mem);
1057 GElf_Shdr shdr_mem;
1058 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
1183 GElf_Shdr shdr_mem;
1184 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
1205 GElf_Shdr shdr_mem;
1206 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
1305 GElf_Shdr shdr_mem;
1306 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
1427 GElf_Shdr shdr_mem;
1428 GElf_Shdr *shdr = gelf_getshdr (unstripped_symtab, &shdr_mem);
1480 GElf_Shdr shdr_mem;
1481 GElf_Shdr *shdr = gelf_getshdr (sec->outscn, &shdr_mem);
1490 || !(shdr_mem.sh_flags & SHF_ALLOC)
1491 || shdr_mem.sh_addr == 0)
1492 shdr_mem.sh_addr = sec->shdr.sh_addr;
1494 shdr_mem.sh_type = sec->shdr.sh_type;
1495 shdr_mem.sh_size = sec->shdr.sh_size;
1496 shdr_mem.sh_info = sec->shdr.sh_info;
1497 shdr_mem.sh_link = sec->shdr.sh_link;
1499 shdr_mem.sh_link = ndx_section[sec->shdr.sh_link - 1];
1500 if (shdr_mem.sh_flags & SHF_INFO_LINK)
1501 shdr_mem.sh_info = ndx_section[sec->shdr.sh_info - 1];
1504 shdr_mem.sh_name = ebl_strtaboffset (sec->strent);
1514 if (stripped_ehdr->e_type != ET_REL && (shdr_mem.sh_flags & SHF_ALLOC))
1516 shdr_mem.sh_offset = sec->shdr.sh_offset;
1519 const GElf_Off end_offset = (shdr_mem.sh_offset
1520 + (shdr_mem.sh_type == SHT_NOBITS
1521 ? 0 : shdr_mem.sh_size));
1526 ELF_CHECK (gelf_update_shdr (sec->outscn, &shdr_mem),
1529 if (shdr_mem.sh_type == SHT_SYMTAB || shdr_mem.sh_type == SHT_DYNSYM)
1535 for (size_t i = 1; i < shdr_mem.sh_size / shdr_mem.sh_entsize; ++i)
1567 if (shdr_mem.sh_type == SHT_SYMTAB)
1569 if (shdr_mem.sh_type == SHT_DYNSYM)
1588 GElf_Shdr shdr_mem;
1589 GElf_Shdr *shdr = gelf_getshdr (unstripped_symtab, &shdr_mem);
1778 GElf_Shdr shdr_mem;
1779 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);