summaryrefslogtreecommitdiff
path: root/src/unexaix.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-06-13 19:46:22 +0000
committerRichard M. Stallman <rms@gnu.org>1994-06-13 19:46:22 +0000
commite2ad31a853e9fc2654602a6396d232b9223d03d0 (patch)
treeeaedb63a51a0e8b5b50fb5a46a4859bd01ba2cf8 /src/unexaix.c
parent1b32413f4bc3422ca8d1a440a46519781d26c8e3 (diff)
downloademacs-e2ad31a853e9fc2654602a6396d232b9223d03d0.tar.gz
(adjust_lnnoptrs): Handle multiple aux symbols.
Diffstat (limited to 'src/unexaix.c')
-rw-r--r--src/unexaix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unexaix.c b/src/unexaix.c
index e22e0e18d08..e7b7b8c10b3 100644
--- a/src/unexaix.c
+++ b/src/unexaix.c
@@ -720,6 +720,7 @@ adjust_lnnoptrs (writedesc, readdesc, new_name)
char *new_name;
{
register int nsyms;
+ register int naux;
register int new;
#ifdef amdahl_uts
SYMENT symentry;
@@ -742,7 +743,7 @@ adjust_lnnoptrs (writedesc, readdesc, new_name)
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++;