Lines Matching refs:cshdr
1385 Shdr *cishdr = NULL, *cshdr = ccache->c_shdr; in cap_section() local
1392 if ((cshdr->sh_entsize == 0) || (cshdr->sh_size == 0)) { in cap_section()
1404 if (cshdr->sh_link) { in cap_section()
1412 if (cshdr->sh_link >= shnum) { in cap_section()
1414 file, ccache->c_name, EC_WORD(cshdr->sh_link)); in cap_section()
1418 cicache = &cache[cshdr->sh_link]; in cap_section()
1423 file, ccache->c_name, EC_WORD(cshdr->sh_link)); in cap_section()
1460 if (cshdr->sh_info) { in cap_section()
1466 if (cshdr->sh_info >= shnum) { in cap_section()
1468 file, ccache->c_name, EC_WORD(cshdr->sh_info)); in cap_section()
1472 strcache = &cache[cshdr->sh_info]; in cap_section()
1477 file, ccache->c_name, EC_WORD(cshdr->sh_info)); in cap_section()
1487 capnum = (Word)(cshdr->sh_size / cshdr->sh_entsize); in cap_section()
1555 ccache->c_name, EC_WORD(cshdr->sh_info)); in cap_section()
1578 ccache->c_name, EC_WORD(cshdr->sh_link)); in cap_section()
1757 Shdr *cshdr = NULL; in cap() local
1801 cshdr = shdr; in cap()
1807 if ((cshdr == NULL) && (uphdr == NULL)) in cap()
1810 if ((uphdr != NULL) && (cshdr == NULL)) in cap()
1818 if (cshdr && ((ehdr->e_type == ET_EXEC) || (ehdr->e_type == ET_DYN))) { in cap()