mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 20:32:21 +08:00
* aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
symbol was last.
This commit is contained in:
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
|
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
|
||||||
being the last symbol.
|
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>
|
2005-02-07 Maciej W. Rozycki <macro@mips.com>
|
||||||
|
|
||||||
|
@ -3430,8 +3430,9 @@ aout_link_add_symbols (abfd, info)
|
|||||||
break;
|
break;
|
||||||
case N_WARNING:
|
case N_WARNING:
|
||||||
/* A warning symbol. The next symbol is the one to warn
|
/* A warning symbol. The next symbol is the one to warn
|
||||||
about. */
|
about. If there is no next symbol, just look away. */
|
||||||
BFD_ASSERT (p + 1 < pend);
|
if (p + 1 >= pend)
|
||||||
|
return TRUE;
|
||||||
++p;
|
++p;
|
||||||
string = name;
|
string = name;
|
||||||
name = strings + GET_WORD (abfd, p->e_strx);
|
name = strings + GET_WORD (abfd, p->e_strx);
|
||||||
|
Reference in New Issue
Block a user