Add em22 compile, change EM machine executable format to put proc table in text
[Ack-5.5.git] / util / int / disassemble.c
index 23a7448..63d6f7c 100644 (file)
@@ -1706,11 +1706,12 @@ disassemble()
        ep = (struct ep *)Malloc((size)(NProc * sizeof (struct ep)),
                                                        "entry points");
        for (idf = 0; idf < NProc; idf++) {
-               register struct proc *pr = &proctab[idf];
-               
+               struct proc pt;
+
+               read_proctab(idf, &pt);
                ep[idf].ep_idf = idf;
-               ep[idf].ep_ep = pr->pr_ep;
-               ep[idf].ep_nloc = pr->pr_nloc;
+               ep[idf].ep_ep = pt.pr_ep;
+               ep[idf].ep_nloc = pt.pr_nloc;
        }
 
        /* a very naive sorting algorithm */