ecoff_syms
struct ecoff_syms ecoffsymtab;
struct ecoff_extsym *ecoff_syms;
struct ecoff_extsym *es = &ecoffsymtab.ecoff_syms[i];
safewrite(out, ecoffsymtab.ecoff_syms,
translate_syms(struct elf_syms *elfp, struct ecoff_syms *ecoffp)
ecoffp->ecoff_syms = malloc(sizeof(struct ecoff_extsym) * nsyms);
ecoffp->ecoff_syms[idx].es_strindex = nsp - newstrings;
ecoffp->ecoff_syms[idx].es_type = 1;
ecoffp->ecoff_syms[idx].es_class = 5;
ecoffp->ecoff_syms[idx].es_value = esym->st_value;
ecoffp->ecoff_syms[idx].es_symauxindex = 0xfffff;
static void translate_syms(struct elf_syms *, struct ecoff_syms *);