Lines Matching defs:ecoffp
723 translate_syms(struct elf_syms *elfp, struct ecoff_syms *ecoffp)
736 memset(ecoffp, 0, sizeof(*ecoffp));
738 ecoffp->nsymbols = 0;
739 ecoffp->ecoff_syms = malloc(sizeof(struct ecoff_extsym) * nsyms);
742 ecoffp->stringsize = elfp->stringsize;
743 ecoffp->stringtab = malloc(elfp->stringsize);
745 newstrings = (char *) ecoffp->stringtab;
746 nsp = (char *) ecoffp->stringtab;
762 ecoffp->ecoff_syms[idx].es_strindex = nsp - newstrings;
766 ecoffp->ecoff_syms[idx].es_type = 1;
767 ecoffp->ecoff_syms[idx].es_class = 5;
770 ecoffp->ecoff_syms[idx].es_value = elfp->elf_syms[i].st_value;
771 ecoffp->ecoff_syms[idx].es_symauxindex = 0xfffff;
776 ecoffp->nsymbols = idx;
777 ecoffp->stringsize = nsp - newstrings;