Lines Matching defs:shdr
488 Elf_Shdr *shdr;
521 shdr = elf_getshdr(scn);
522 if (!shdr) {
527 shdr->sh_name = 52; /* .debug_line */
528 shdr->sh_type = SHT_PROGBITS;
529 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */
530 shdr->sh_flags = 0;
531 shdr->sh_entsize = 0;
555 shdr = elf_getshdr(scn);
556 if (!shdr) {
561 shdr->sh_name = 64; /* .debug_info */
562 shdr->sh_type = SHT_PROGBITS;
563 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */
564 shdr->sh_flags = 0;
565 shdr->sh_entsize = 0;
589 shdr = elf_getshdr(scn);
590 if (!shdr) {
595 shdr->sh_name = 76; /* .debug_info */
596 shdr->sh_type = SHT_PROGBITS;
597 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */
598 shdr->sh_flags = 0;
599 shdr->sh_entsize = 0;