changeset 7867:087c9b909feb

(adjust_lnnoptrs): Handle multiple aux symbols.
author Richard M. Stallman <rms@gnu.org>
date Mon, 13 Jun 1994 19:46:22 +0000
parents 44680acb5d14
children 4951edd1b764
files src/unexaix.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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++;