Searched refs:newshdr (Results 1 – 3 of 3) sorted by relevance
/external/elfutils/tests/ |
D | elfstrmerge.c | 455 GElf_Shdr newshdr; in main() local 456 newshdr.sh_name = (shdr->sh_name != 0 in main() 458 newshdr.sh_type = shdr->sh_type; in main() 459 newshdr.sh_flags = shdr->sh_flags; in main() 460 newshdr.sh_addr = shdr->sh_addr; in main() 461 newshdr.sh_size = shdr->sh_size; in main() 463 newshdr.sh_link = newsecndx (shdr->sh_link, "shdr", ndx, "sh_link", 0); in main() 465 newshdr.sh_link = 0; in main() 467 newshdr.sh_info = newsecndx (shdr->sh_info, "shdr", ndx, "sh_info", 0); in main() 469 newshdr.sh_info = shdr->sh_info; in main() [all …]
|
D | elfputzdata.c | 151 GElf_Shdr *newshdr = gelf_getshdr (scn, &newmem); in main() local 152 size_t new_size = newshdr->sh_size; in main()
|
/external/elfutils/src/ |
D | unstrip.c | 414 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr() argument 416 ELF_CHECK (gelf_update_shdr (outscn, newshdr), in update_shdr() 425 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size() local 426 ELF_CHECK (newshdr != NULL, _("cannot get section header: %s")); in update_sh_size() 428 newshdr->sh_size = data->d_size; in update_sh_size() 430 update_shdr (outscn, newshdr); in update_sh_size() 480 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in adjust_relocs() local 481 ELF_CHECK (newshdr != NULL, _("cannot get section header: %s")); in adjust_relocs() 482 if (newshdr->sh_info != STN_UNDEF) in adjust_relocs() 484 newshdr->sh_info = map[newshdr->sh_info - 1]; in adjust_relocs() [all …]
|