Home
last modified time | relevance | path

Searched refs:newshdr (Results 1 – 3 of 3) sorted by relevance

/third_party/elfutils/tests/
Delfstrmerge.c473 GElf_Shdr newshdr; in main() local
474 newshdr.sh_name = (shdr->sh_name != 0 in main()
476 newshdr.sh_type = shdr->sh_type; in main()
477 newshdr.sh_flags = shdr->sh_flags; in main()
478 newshdr.sh_addr = shdr->sh_addr; in main()
479 newshdr.sh_size = shdr->sh_size; in main()
481 newshdr.sh_link = newsecndx (shdr->sh_link, shdrstrndx, shdrnum, in main()
484 newshdr.sh_link = 0; in main()
486 newshdr.sh_info = newsecndx (shdr->sh_info, shdrstrndx, shdrnum, in main()
490 newshdr.sh_info = shdr->sh_info; in main()
[all …]
Delfputzdata.c156 GElf_Shdr *newshdr = gelf_getshdr (scn, &newmem); in main() local
157 size_t new_size = newshdr->sh_size; in main()
/third_party/elfutils/src/
Dunstrip.c415 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr() argument
417 ELF_CHECK (gelf_update_shdr (outscn, newshdr), in update_shdr()
426 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size() local
427 ELF_CHECK (newshdr != NULL, _("cannot get section header: %s")); in update_sh_size()
429 newshdr->sh_size = data->d_size; in update_sh_size()
431 update_shdr (outscn, newshdr); in update_sh_size()
489 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in adjust_relocs() local
490 ELF_CHECK (newshdr != NULL, _("cannot get section header: %s")); in adjust_relocs()
491 if (newshdr->sh_info != STN_UNDEF) in adjust_relocs()
493 newshdr->sh_info = map[newshdr->sh_info - 1]; in adjust_relocs()
[all …]