Home
last modified time | relevance | path

Searched refs:cshdr (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/boot/common/
H A Dload_elf_obj.c192 Elf_Shdr *shdr, *cshdr, *lshdr; in __elfN() local
291 for (cshdr = NULL; /* none */; /* none */) in __elfN()
298 lshdr = cshdr; in __elfN()
309 if (cshdr == lshdr || in __elfN()
310 cshdr->sh_offset > shdr[i].sh_offset) in __elfN()
311 cshdr = &shdr[i]; in __elfN()
314 if (cshdr == lshdr) in __elfN()
317 if (kern_pread(ef->fd, (vm_offset_t)cshdr->sh_addr, in __elfN()
318 cshdr->sh_size, (off_t)cshdr->sh_offset) != 0) { in __elfN()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c1385 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()
[all …]