* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
being the last symbol.
+ (aout_link_add_symbols): Just return TRUE if a warning
+ symbol was last.
2005-02-07 Maciej W. Rozycki <macro@mips.com>
break;
case N_WARNING:
/* A warning symbol. The next symbol is the one to warn
- about. */
- BFD_ASSERT (p + 1 < pend);
+ about. If there is no next symbol, just look away. */
+ if (p + 1 >= pend)
+ return TRUE;
++p;
string = name;
name = strings + GET_WORD (abfd, p->e_strx);