Home
last modified time | relevance | path

Searched refs:shnum (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/arch/x86/tools/
H A Drelocs.c15 static unsigned long shnum; variable
249 if (shndx < shnum) { in sec_name()
277 for (i = 0; i < shnum; i++) { in sym_lookup()
372 shnum = ehdr.e_shnum; in read_ehdr()
389 if (shnum == SHN_UNDEF || shstrndx == SHN_XINDEX) { in read_ehdr()
398 if (shnum == SHN_UNDEF) in read_ehdr()
399 shnum = elf_xword_to_cpu(shdr.sh_size); in read_ehdr()
405 if (shstrndx >= shnum) in read_ehdr()
414 secs = calloc(shnum, sizeof(struct section)); in read_shdrs()
417 shnum); in read_shdrs()
[all …]
/OK3568_Linux_fs/kernel/scripts/
H A Dsorttable.h218 unsigned int shnum; in do_sort() local
231 shnum = r2(&ehdr->e_shnum); in do_sort()
232 if (shnum == SHN_UNDEF) in do_sort()
233 shnum = _r(&shdr[0].sh_size); in do_sort()
235 for (i = 0, s = shdr; s < shdr + shnum; i++, s++) { in do_sort()
/OK3568_Linux_fs/kernel/drivers/remoteproc/
H A Dremoteproc_coredump.c356 int shnum; in rproc_coredump_using_sections() local
376 shnum = 2; in rproc_coredump_using_sections()
386 shnum++; in rproc_coredump_using_sections()
407 elf_hdr_set_e_shnum(class, ehdr, shnum); in rproc_coredump_using_sections()
H A Dremoteproc_elf_loader.c254 u16 shnum = elf_hdr_get_e_shnum(class, ehdr); local
266 for (i = 0; i < shnum; i++, shdr += elf_shdr_get_size) {
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/elfutils/files/
H A D0003-fixheadercheck.patch28 @@ -354,8 +354,8 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
/OK3568_Linux_fs/kernel/kernel/
H A Dmodule.c2731 unsigned int shnum, unsigned int pcpundx) in is_core_symbol() argument
2736 || src->st_shndx >= shnum in is_core_symbol()