Lines Matching refs:nl
88 #define SYM_VALUE(sym) (nl[(sym)].n_value)
124 struct nlist *nl, *nlptr; variable
339 nl = (struct nlist *)calloc(nlsize, sizeof (struct nlist)); in main()
341 nlptr = nl; in main()
367 nlptr = nl; in main()
386 for (nlptr = &nl[vs]; nlptr != &nl[endnm]; nlptr++) { in main()
498 if (nlptr >= &nl[nlsize]) { in setup()
499 if ((nl = (struct nlist *)realloc(nl, in setup()
504 nlptr = &nl[nlsize]; in setup()
512 idx = nlptr++ - nl; in setup()
744 if ((fseek(memfile, nl[sym].n_value, 0)) != 0) { in memseek()
749 if ((scn = elf_getscn(elfd, nl[sym].n_scnum)) == NULL) { in memseek()
751 os, nl[sym].n_scnum, elf_errmsg(-1)); in memseek()
757 os, nl[sym].n_scnum, elf_errmsg(-1)); in memseek()
761 eoff = (long)(nl[sym].n_value - eshdr->sh_addr + in memseek()
779 nlist(os, nl); in getnlist()
788 for (p = nl; p->n_name && p->n_name[0]; p++) { in getnlist()