# HG changeset patch # User Richard M. Stallman # Date 771536782 0 # Node ID 087c9b909feb4a3f8977fcee18c475cb16ab5236 # Parent 44680acb5d14ff545f1e86163e7c2261f378cfcf (adjust_lnnoptrs): Handle multiple aux symbols. diff -r 44680acb5d14 -r 087c9b909feb src/unexaix.c --- a/src/unexaix.c Mon Jun 13 19:35:07 1994 +0000 +++ b/src/unexaix.c Mon Jun 13 19:46:22 1994 +0000 @@ -720,6 +720,7 @@ char *new_name; { register int nsyms; + register int naux; register int new; #ifdef amdahl_uts SYMENT symentry; @@ -742,7 +743,7 @@ for (nsyms = 0; nsyms < f_hdr.f_nsyms; nsyms++) { read (new, &symentry, SYMESZ); - if (symentry.n_numaux) + for (naux = 0; naux < symentry.n_numaux; naux++) { read (new, &auxentry, AUXESZ); nsyms++;