Home | History | Annotate | Download | only in tc

Lines Matching refs:sec_hdr

712 	GElf_Shdr		sec_hdr;
1157 GElf_Shdr sec_hdr;
1166 if (gelf_getshdr(sec_fd, &sec_hdr) != &sec_hdr)
1170 sec_hdr.sh_name);
1171 if (!sec_name || !sec_hdr.sh_size)
1178 memcpy(&data->sec_hdr, &sec_hdr, sizeof(sec_hdr));
1219 ctx->sym_num = data->sec_hdr.sh_size / data->sec_hdr.sh_entsize;
1242 if (data.sec_hdr.sh_type == SHT_PROGBITS &&
1245 else if (data.sec_hdr.sh_type == SHT_PROGBITS &&
1248 else if (data.sec_hdr.sh_type == SHT_SYMTAB &&
1251 else if (data.sec_hdr.sh_type == SHT_STRTAB &&
1284 !(data.sec_hdr.sh_type == SHT_PROGBITS &&
1285 data.sec_hdr.sh_flags & SHF_EXECINSTR &&
1311 GElf_Shdr *rhdr = &data_relo->sec_hdr;
1359 if (ret < 0 || data_relo.sec_hdr.sh_type != SHT_REL)
1362 idx = data_relo.sec_hdr.sh_info;
1365 !(data_insn.sec_hdr.sh_type == SHT_PROGBITS &&
1366 data_insn.sec_hdr.sh_flags & SHF_EXECINSTR &&