* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
being the last symbol.
This commit is contained in:
parent
b80f2c6aab
commit
c386442122
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-02-07 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
|
||||
being the last symbol.
|
||||
|
||||
2005-02-07 Maciej W. Rozycki <macro@mips.com>
|
||||
|
||||
* elf32-mips.c (mips_elf_gprel32_reloc): Reject
|
||||
|
|
|
@ -2748,7 +2748,7 @@ NAME(aout,find_nearest_line)
|
|||
/* Look ahead to next symbol to check if that too is an N_SO. */
|
||||
p++;
|
||||
if (*p == NULL)
|
||||
break;
|
||||
goto done;
|
||||
q = (aout_symbol_type *) (*p);
|
||||
if (q->type != (int)N_SO)
|
||||
goto next;
|
||||
|
|
Loading…
Reference in a new issue