/external/elfutils/libelf/ |
elf_update.c | 64 write_file (Elf *elf, off_t size, int change_bo, size_t shnum) 107 ? __elf32_updatemmap (elf, change_bo, shnum) 108 : __elf64_updatemmap (elf, change_bo, shnum)) != 0) 116 ? __elf32_updatefile (elf, change_bo, shnum) 117 : __elf64_updatefile (elf, change_bo, shnum)) != 0) 156 size_t shnum; local 188 shnum = (elf->state.elf.scns_last->cnt == 0 196 ? __elf32_updatenull_wrlock (elf, &change_bo, shnum) 197 : __elf64_updatenull_wrlock (elf, &change_bo, shnum)); 217 size = write_file (elf, size, change_bo, shnum); [all...] |
elf32_getshdr.c | 83 size_t shnum; 84 if (__elf_getshnum_rdlock (elf, &shnum) != 0) 86 size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr)); 135 for (size_t cnt = 0; cnt < shnum; ++cnt) 153 && shdr[cnt].sh_link < shnum) 181 for (size_t cnt = 0; cnt < shnum; ++cnt) 210 for (size_t cnt = 0; cnt < shnum; ++cnt)
|
elf32_updatenull.c | 73 size_t shnum, int *change_bop) 115 if (unlikely (shnum >= SHN_LORESERVE)) 121 update_if_changed (ehdr->e_shnum, shnum, 136 __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum) 145 if (ELFW(default_ehdr,LIBELFBITS) (elf, ehdr, shnum, change_bop) != 0) 186 if (shnum > 0) 193 if (shnum >= SHN_LORESERVE) 200 shnum, scn0->shdr_flags); 408 + (elf_typesize (LIBELFBITS, ELF_T_SHDR, shnum)))); 426 size += elf_typesize (LIBELFBITS, ELF_T_SHDR, shnum); [all...] |
elf32_updatefile.c | 127 __elfw2(LIBELFBITS,updatemmap) (Elf *elf, int change_bo, size_t shnum) 213 if (shnum > 0) 216 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); 234 for (size_t cnt = 0; cnt < shnum; ++cnt) 283 for (size_t cnt = 0; cnt < shnum; ++cnt) 382 for (size_t cnt = 0; cnt < shnum; ++cnt) 417 + ehdr->e_shentsize * shnum); 469 __elfw2(LIBELFBITS,updatefile) (Elf *elf, int change_bo, size_t shnum) 593 if (shnum > 0) 606 alloca (shnum * sizeof (ElfW2(LIBELFBITS,Shdr))) [all...] |
libelfP.h | 504 size_t shnum) internal_function; 506 size_t shnum) internal_function; 508 extern int __elf32_updatemmap (Elf *elf, int change_bo, size_t shnum) 510 extern int __elf64_updatemmap (Elf *elf, int change_bo, size_t shnum) 512 extern int __elf32_updatefile (Elf *elf, int change_bo, size_t shnum) 514 extern int __elf64_updatefile (Elf *elf, int change_bo, size_t shnum)
|
/external/elfutils/libebl/ |
eblsectionname.c | 60 ebl_section_name (ebl, section, xsection, buf, len, scnnames, shnum) 67 size_t shnum; 85 && (size_t) section < shnum)
|
libebl.h | 132 const char *scnnames[], size_t shnum);
|
/external/valgrind/main/VEX/switchback/ |
linker.c | 514 Elf_Shdr* shdr, int shnum, 520 Elf_Rel* rtab = (Elf_Rel*) (ehdrC + shdr[shnum].sh_offset); 521 int nent = shdr[shnum].sh_size / sizeof(Elf_Rel); 522 int target_shndx = shdr[shnum].sh_info; 523 int symtab_shndx = shdr[shnum].sh_link; 640 Elf_Shdr* shdr, int shnum, 646 Elf_Rela* rtab = (Elf_Rela*) (ehdrC + shdr[shnum].sh_offset); 647 int nent = shdr[shnum].sh_size / sizeof(Elf_Rela); 648 int target_shndx = shdr[shnum].sh_info; 649 int symtab_shndx = shdr[shnum].sh_link [all...] |
/external/valgrind/main/VEX/unused/ |
linker.c | 420 Elf_Shdr* shdr, int shnum, 426 Elf_Rel* rtab = (Elf_Rel*) (ehdrC + shdr[shnum].sh_offset); 427 int nent = shdr[shnum].sh_size / sizeof(Elf_Rel); 428 int target_shndx = shdr[shnum].sh_info; 429 int symtab_shndx = shdr[shnum].sh_link; 546 Elf_Shdr* shdr, int shnum, 552 Elf_Rela* rtab = (Elf_Rela*) (ehdrC + shdr[shnum].sh_offset); 553 int nent = shdr[shnum].sh_size / sizeof(Elf_Rela); 554 int target_shndx = shdr[shnum].sh_info; 555 int symtab_shndx = shdr[shnum].sh_link 711 int shnum, ok; local [all...] |
/frameworks/compile/mclinker/lib/LD/ |
ELFReader.cpp | 338 uint32_t shnum = 0x0; local 344 shnum = ehdr->e_shnum; 350 shnum = mcld::bswap16(ehdr->e_shnum); 369 // if shnum and shstrtab overflow, the actual values are in the 1st shdr 370 if (shnum == llvm::ELF::SHN_UNDEF || shstrtab == llvm::ELF::SHN_XINDEX) { 385 if (shnum == llvm::ELF::SHN_UNDEF) 386 shnum = sh_size; 394 shnum * shentsize); 417 for (size_t idx = 0; idx < shnum; ++idx) { 894 uint32_t shnum = 0x0 local [all...] |
/ndk/build/tools/toolchain-patches/mclinker/ |
0001-Compile-against-llvm-3.3.patch | 62 uint32_t shnum = 0x0; 69 shnum = ehdr->e_shnum; 91 for (size_t idx = 0; idx < shnum; ++idx) { 143 uint32_t shnum = 0x0; 150 shnum = ehdr->e_shnum; 172 for (size_t idx = 0; idx < shnum; ++idx) {
|
/external/elfutils/src/ |
unstrip.c | 339 symtab_count_leading_section_symbols (Elf *elf, Elf_Scn *scn, size_t shnum, 345 for (size_t i = 1; i < shnum; ++i) 369 return shnum; 548 Elf *elf, bool rel, Elf_Scn *symscn, size_t shnum) 550 const size_t added = shnum - old_shnum; 588 for (size_t i = old_shnum; i < shnum; ++i) 629 size_t shnum, size_t shstrndx, 637 return add_new_section_symbols (oscn, n, elf, rel, scn, shnum); 976 uint_fast16_t shnum; 980 shnum = ehdr.e32.e_shnum 974 uint_fast16_t shnum; local [all...] |
strip.c | 539 size_t shnum; local 540 if (unlikely (elf_getshnum (elf, &shnum) < 0)) 551 if ((shnum + 2) * sizeof (struct shdr_info) > MAX_STACK_ALLOC) 552 shdr_info = (struct shdr_info *) xcalloc (shnum + 2, 556 shdr_info = (struct shdr_info *) alloca ((shnum + 2) 558 memset (shdr_info, '\0', (shnum + 2) * sizeof (struct shdr_info)); 662 for (cnt = 1; cnt < shnum; ++cnt) 707 for (cnt = 1; cnt < shnum; ++cnt) 773 if (scnidx == SHN_UNDEF || scnidx >= shnum 862 for (cnt = 1; cnt < shnum; ++cnt [all...] |
elflint.c | 349 static unsigned int shnum; variable 426 shnum = ehdr->e_shnum; 451 shnum = shdr->sh_size; 461 if (shdr != NULL && shdr->sh_link < shnum) 464 else if (shstrndx >= shnum) 522 for (cnt = idx + 1; cnt < shnum; ++cnt) 549 if (cnt == shnum) 593 for (size_t cnt = 1; cnt < shnum; ++cnt) 696 || (sym->st_shndx >= shnum 731 else if (xndx > 0 && xndx < shnum) [all...] |
nm.c | 726 size_t shnum; local 727 if (elf_getshnum (ebl->elf, &shnum) < 0) 730 bool scnnames_malloced = shnum * sizeof (const char *) > 128 * 1024; 733 scnnames = (const char **) xmalloc (sizeof (const char *) * shnum); 735 scnnames = (const char **) alloca (sizeof (const char *) * shnum); 820 shnum)); [all...] |
readelf.c | 200 static size_t shnum; variable 593 if (unlikely (elf_getshnum (ebl->elf, &shnum) < 0)) 843 for (cnt = 0; cnt < shnum; ++cnt) 992 for (size_t inner = 1; inner < shnum; ++inner) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/libexec/gcc/i686-linux/4.6.x-google/ |
liblto_plugin.so | |
liblto_plugin.so.0 | |
liblto_plugin.so.0.0.0 | |
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.6/libexec/gcc/mipsel-linux-android/4.6/ |
liblto_plugin.so | |
liblto_plugin.so.0 | |
liblto_plugin.so.0.0.0 | |
/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/libexec/gcc/i686-linux-android/4.6/ |
liblto_plugin.so | |
liblto_plugin.so.0 | |
liblto_plugin.so.0.0.0 | |