Lines Matching refs:shdr
490 Elf_Shdr *shdr; in jit_add_debug_info() local
523 shdr = elf_getshdr(scn); in jit_add_debug_info()
524 if (!shdr) { in jit_add_debug_info()
529 shdr->sh_name = 52; /* .debug_line */ in jit_add_debug_info()
530 shdr->sh_type = SHT_PROGBITS; in jit_add_debug_info()
531 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */ in jit_add_debug_info()
532 shdr->sh_flags = 0; in jit_add_debug_info()
533 shdr->sh_entsize = 0; in jit_add_debug_info()
557 shdr = elf_getshdr(scn); in jit_add_debug_info()
558 if (!shdr) { in jit_add_debug_info()
563 shdr->sh_name = 64; /* .debug_info */ in jit_add_debug_info()
564 shdr->sh_type = SHT_PROGBITS; in jit_add_debug_info()
565 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */ in jit_add_debug_info()
566 shdr->sh_flags = 0; in jit_add_debug_info()
567 shdr->sh_entsize = 0; in jit_add_debug_info()
591 shdr = elf_getshdr(scn); in jit_add_debug_info()
592 if (!shdr) { in jit_add_debug_info()
597 shdr->sh_name = 76; /* .debug_info */ in jit_add_debug_info()
598 shdr->sh_type = SHT_PROGBITS; in jit_add_debug_info()
599 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */ in jit_add_debug_info()
600 shdr->sh_flags = 0; in jit_add_debug_info()
601 shdr->sh_entsize = 0; in jit_add_debug_info()