Home
last modified time | relevance | path

Searched refs:shdrstrndx (Results 1 – 12 of 12) sorted by relevance

/external/elfutils/src/
Delfcompress.c374 size_t shdrstrndx; in process_file() local
375 if (elf_getshdrstrndx (elf, &shdrstrndx) != 0) in process_file()
470 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
529 if (shdr->sh_link == shdrstrndx) in process_file()
701 sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
717 && (ndx == shdrstrndx in process_file()
761 if (ndx == shdrstrndx) in process_file()
817 if (ndx == shdrstrndx) in process_file()
871 if (! adjust_names || ndx != shdrstrndx) in process_file()
898 name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
[all …]
Dstrip.c417 update_shdrstrndx (Elf *elf, size_t shdrstrndx) in update_shdrstrndx() argument
423 if (shdrstrndx < SHN_LORESERVE) in update_shdrstrndx()
424 ehdr.e_shstrndx = shdrstrndx; in update_shdrstrndx()
434 shdr0->sh_link = shdrstrndx; in update_shdrstrndx()
1643 size_t shdrstrndx; in handle_elf() local
1644 if (elf_getshdrstrndx (elf, &shdrstrndx) < 0) in handle_elf()
1652 if (update_shdrstrndx (debugelf, shdrstrndx) != 0) in handle_elf()
DChangeLog61 * strip.c (handle_elf): Extract code to update shdrstrndx into...
176 Explicitly set shdrstrndx for debug file.
189 * elfcmp.c (main): Get, check and shdrstrndx for section names.
/external/elfutils/tests/
Delfstrmerge.c180 size_t shdrstrndx; in main() local
181 if (elf_getshdrstrndx (elf, &shdrstrndx) != 0) in main()
184 Elf_Scn *shdrstrscn = elf_getscn (elf, shdrstrndx); in main()
226 if (shdrstrndx == strtabndx) in main()
274 if (shdr->sh_name != 0 && scnnum != shdrstrndx) in main()
276 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in main()
332 if (unlikely (secndx == 0 || secndx == shdrstrndx || secndx >= shdrnum)) in main()
349 return secndx < shdrstrndx ? secndx : secndx - 1; in main()
448 if (ndx == 0 || ndx == shdrstrndx) in main()
523 && sym.st_shndx == shdrstrndx) in main()
[all …]
Ddwelfgnucompressed.c56 size_t shdrstrndx; in main() local
57 if (elf_getshdrstrndx (elf, &shdrstrndx) == -1) in main()
77 const char *sname = elf_strptr (elf, shdrstrndx, shdr.sh_name); in main()
Delfgetchdr.c56 size_t shdrstrndx; in main() local
57 if (elf_getshdrstrndx (elf, &shdrstrndx) == -1) in main()
93 const char *sname = elf_strptr (elf, shdrstrndx, shdr.sh_name); in main()
Dfillfile.c287 size_t shdrstrndx; in check_elf() local
288 if (elf_getshdrstrndx (elf, &shdrstrndx) != 0) in check_elf()
293 printf ("shdrstrndx: %zd\n", shdrstrndx); in check_elf()
307 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in check_elf()
379 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in check_elf()
/external/elfutils/po/
Dde.po5987 msgid "%s: error while getting shdrstrndx: %s"
5992 msgid "%s: error updating shdrstrndx: %s"
6143 msgid "cannot get shdrstrndx:%s"
Dja.po6252 msgid "%s: error while getting shdrstrndx: %s"
6257 msgid "%s: error updating shdrstrndx: %s"
6408 msgid "cannot get shdrstrndx:%s"
Duk.po6564 msgid "%s: error while getting shdrstrndx: %s"
6569 msgid "%s: error updating shdrstrndx: %s"
6727 msgid "cannot get shdrstrndx:%s"
Dpl.po6518 msgid "%s: error while getting shdrstrndx: %s"
6523 msgid "%s: error updating shdrstrndx: %s"
6676 msgid "cannot get shdrstrndx:%s"
Des.po6531 msgid "%s: error while getting shdrstrndx: %s"
6536 msgid "%s: error updating shdrstrndx: %s"
6689 msgid "cannot get shdrstrndx:%s"