diff options
| author | Richard M. Stallman | 1994-06-13 19:46:22 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-06-13 19:46:22 +0000 |
| commit | 0817a05a00abab7c39dddbb767cea6be5292cf03 (patch) | |
| tree | 3fb9809db3d40b08a31ef78408f9583b1eb9af63 /src | |
| parent | 2f4b15efbd742f580a4f26e134017a7759689e12 (diff) | |
| download | emacs-0817a05a00abab7c39dddbb767cea6be5292cf03.tar.gz emacs-0817a05a00abab7c39dddbb767cea6be5292cf03.zip | |
(adjust_lnnoptrs): Handle multiple aux symbols.
Diffstat (limited to 'src')
| -rw-r--r-- | src/unexaix.c | 3 |
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) | |||
| 720 | char *new_name; | 720 | char *new_name; |
| 721 | { | 721 | { |
| 722 | register int nsyms; | 722 | register int nsyms; |
| 723 | register int naux; | ||
| 723 | register int new; | 724 | register int new; |
| 724 | #ifdef amdahl_uts | 725 | #ifdef amdahl_uts |
| 725 | SYMENT symentry; | 726 | SYMENT symentry; |
| @@ -742,7 +743,7 @@ adjust_lnnoptrs (writedesc, readdesc, new_name) | |||
| 742 | for (nsyms = 0; nsyms < f_hdr.f_nsyms; nsyms++) | 743 | for (nsyms = 0; nsyms < f_hdr.f_nsyms; nsyms++) |
| 743 | { | 744 | { |
| 744 | read (new, &symentry, SYMESZ); | 745 | read (new, &symentry, SYMESZ); |
| 745 | if (symentry.n_numaux) | 746 | for (naux = 0; naux < symentry.n_numaux; naux++) |
| 746 | { | 747 | { |
| 747 | read (new, &auxentry, AUXESZ); | 748 | read (new, &auxentry, AUXESZ); |
| 748 | nsyms++; | 749 | nsyms++; |