Lines Matching refs:cshdr
1316 Shdr *cishdr, *cshdr = ccache->c_shdr; in cap_section() local
1323 if ((cshdr->sh_entsize == 0) || (cshdr->sh_size == 0)) { in cap_section()
1335 if (cshdr->sh_link) { in cap_section()
1343 if (cshdr->sh_link >= shnum) { in cap_section()
1345 file, ccache->c_name, EC_WORD(cshdr->sh_link)); in cap_section()
1349 cicache = &cache[cshdr->sh_link]; in cap_section()
1354 file, ccache->c_name, EC_WORD(cshdr->sh_link)); in cap_section()
1391 if (cshdr->sh_info) { in cap_section()
1397 if (cshdr->sh_info >= shnum) { in cap_section()
1399 file, ccache->c_name, EC_WORD(cshdr->sh_info)); in cap_section()
1403 strcache = &cache[cshdr->sh_info]; in cap_section()
1408 file, ccache->c_name, EC_WORD(cshdr->sh_info)); in cap_section()
1418 capnum = (Word)(cshdr->sh_size / cshdr->sh_entsize); in cap_section()
1486 ccache->c_name, EC_WORD(cshdr->sh_info)); in cap_section()
1509 ccache->c_name, EC_WORD(cshdr->sh_link)); in cap_section()
1688 Shdr *cshdr = NULL; in cap() local
1732 cshdr = shdr; in cap()
1738 if ((cshdr == NULL) && (cphdr_off == 0)) in cap()
1741 if (cphdr_off && (cshdr == NULL)) in cap()
1749 if (cshdr && ((ehdr->e_type == ET_EXEC) || (ehdr->e_type == ET_DYN))) { in cap()
1754 } else if ((cphdr_off != cshdr->sh_offset) || in cap()
1755 (cphdr_sz != cshdr->sh_size)) { in cap()