Lines Matching refs:shdr
49 GElf_Shdr shdr; in update_comment() local
65 if (gelf_getshdr(scn, &shdr) == NULL) { in update_comment()
71 shdr.sh_name)) == 0) in update_comment()
113 if (gelf_getshdr(scn, &shdr) == NULL) { in update_comment()
118 shdr.sh_name = ndx; in update_comment()
119 shdr.sh_type = SHT_PROGBITS; in update_comment()
120 shdr.sh_flags = 0; in update_comment()
121 shdr.sh_addr = 0; in update_comment()
122 shdr.sh_link = 0; in update_comment()
123 shdr.sh_info = 0; in update_comment()
129 (void) gelf_update_shdr(scn, &shdr); in update_comment()
132 if (shdr.sh_addr != 0) { in update_comment()