Home | History | Annotate | Download | only in src

Lines Matching defs:shdr

425       GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
427 if (shdr == NULL)
431 if ((shdr->sh_flags & SHF_ALLOC) != 0)
434 shdr->sh_name)));
458 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
461 if ((shdr->sh_flags & SHF_ALLOC) != 0)
464 maxlen, elf_strptr (elf, shstrndx, shdr->sh_name),
465 digits - 2, shdr->sh_size,
466 digits, shdr->sh_addr);
468 total += shdr->sh_size;
509 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
512 if ((shdr->sh_flags & SHF_ALLOC) == 0)
519 printf (fmtstr, shdr->sh_size,
520 elf_strptr (elf, shstrndx, shdr->sh_name));
522 total += shdr->sh_size;
556 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
558 if (shdr == NULL)
562 if ((shdr->sh_flags & SHF_ALLOC) == 0)
565 if ((shdr->sh_flags & SHF_WRITE) == 0)
566 textsize += shdr->sh_size;
567 else if (shdr->sh_type == SHT_NOBITS)
568 bsssize += shdr->sh_size;
570 datasize += shdr->sh_size;