Lines Matching defs:shdr
499 Elf_Shdr *shdr;
532 shdr = elf_getshdr(scn);
533 if (!shdr) {
538 shdr->sh_name = 52; /* .debug_line */
539 shdr->sh_type = SHT_PROGBITS;
540 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */
541 shdr->sh_flags = 0;
542 shdr->sh_entsize = 0;
566 shdr = elf_getshdr(scn);
567 if (!shdr) {
572 shdr->sh_name = 64; /* .debug_info */
573 shdr->sh_type = SHT_PROGBITS;
574 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */
575 shdr->sh_flags = 0;
576 shdr->sh_entsize = 0;
600 shdr = elf_getshdr(scn);
601 if (!shdr) {
606 shdr->sh_name = 76; /* .debug_info */
607 shdr->sh_type = SHT_PROGBITS;
608 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */
609 shdr->sh_flags = 0;
610 shdr->sh_entsize = 0;