Searched defs:symstrindex (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/boot/sys/boot/common/
H A Dload_elf_obj.c194 int i, nsym, res, ret, shdrbytes, symstrindex; local
252 symstrindex = shdr[ef->symtabindex].sh_link;
253 if (symstrindex < 0 || symstrindex >= hdr->e_shnum ||
254 shdr[symstrindex].sh_type != SHT_STRTAB) {
259 lastaddr = roundup(lastaddr, shdr[symstrindex].sh_addralign);
260 shdr[symstrindex].sh_addr = (Elf_Addr)lastaddr;
261 lastaddr += shdr[symstrindex].sh_size;
H A Dload_elf.c314 int symstrindex; local
546 symstrindex = -1;
565 symstrindex = shdr[i].sh_link;
567 if (symtabindex < 0 || symstrindex < 0)
575 for (i = symtabindex; i >= 0; i = symstrindex) {
601 if (i == symstrindex)
625 else if (i == symstrindex)
626 symstrindex = -1;

Completed in 84 milliseconds