Searched refs:newshdr (Results 1 – 3 of 3) sorted by relevance
/external/elfutils/tests/ |
D | elfstrmerge.c | 454 GElf_Shdr newshdr; in main() local 455 newshdr.sh_name = (shdr->sh_name != 0 in main() 457 newshdr.sh_type = shdr->sh_type; in main() 458 newshdr.sh_flags = shdr->sh_flags; in main() 459 newshdr.sh_addr = shdr->sh_addr; in main() 460 newshdr.sh_size = shdr->sh_size; in main() 462 newshdr.sh_link = newsecndx (shdr->sh_link, "shdr", ndx, "sh_link", 0); in main() 464 newshdr.sh_link = 0; in main() 466 newshdr.sh_info = newsecndx (shdr->sh_info, "shdr", ndx, "sh_info", 0); in main() 468 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 | 406 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr() argument 408 ELF_CHECK (gelf_update_shdr (outscn, newshdr), in update_shdr() 417 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size() local 418 ELF_CHECK (newshdr != NULL, _("cannot get section header: %s")); in update_sh_size() 420 newshdr->sh_size = data->d_size; in update_sh_size() 422 update_shdr (outscn, newshdr); in update_sh_size() 466 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in adjust_relocs() local 467 ELF_CHECK (newshdr != NULL, _("cannot get section header: %s")); in adjust_relocs() 468 if (newshdr->sh_info != STN_UNDEF) in adjust_relocs() 470 newshdr->sh_info = map[newshdr->sh_info - 1]; in adjust_relocs() [all …]
|