Commit 0817a05a authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(adjust_lnnoptrs): Handle multiple aux symbols.

parent 2f4b15ef
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment