Lines Matching refs:cshdr
1320 Shdr *cishdr, *cshdr = ccache->c_shdr; in cap_section() local
1327 if ((cshdr->sh_entsize == 0) || (cshdr->sh_size == 0)) { in cap_section()
1339 if (cshdr->sh_link) { in cap_section()
1347 if (cshdr->sh_link >= shnum) { in cap_section()
1349 file, ccache->c_name, EC_WORD(cshdr->sh_link)); in cap_section()
1353 cicache = &cache[cshdr->sh_link]; in cap_section()
1358 file, ccache->c_name, EC_WORD(cshdr->sh_link)); in cap_section()
1395 if (cshdr->sh_info) { in cap_section()
1401 if (cshdr->sh_info >= shnum) { in cap_section()
1403 file, ccache->c_name, EC_WORD(cshdr->sh_info)); in cap_section()
1407 strcache = &cache[cshdr->sh_info]; in cap_section()
1412 file, ccache->c_name, EC_WORD(cshdr->sh_info)); in cap_section()
1422 capnum = (Word)(cshdr->sh_size / cshdr->sh_entsize); in cap_section()
1490 ccache->c_name, EC_WORD(cshdr->sh_info)); in cap_section()
1513 ccache->c_name, EC_WORD(cshdr->sh_link)); in cap_section()
1692 Shdr *cshdr = NULL; in cap() local
1736 cshdr = shdr; in cap()
1742 if ((cshdr == NULL) && (cphdr_off == 0)) in cap()
1745 if (cphdr_off && (cshdr == NULL)) in cap()
1753 if (cshdr && ((ehdr->e_type == ET_EXEC) || (ehdr->e_type == ET_DYN))) { in cap()
1758 } else if ((cphdr_off != cshdr->sh_offset) || in cap()
1759 (cphdr_sz != cshdr->sh_size)) { in cap()