aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-02-07 02:51:28 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-02-07 02:51:28 +0000
commitc3864421222b5f12f72cdb671d246e075eb7839e (patch)
treed2faf1966f8003d04df4c2b825d58075efc224ab /bfd/aoutx.h
parent * ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s, (diff)
downloadbinutils-gdb-c3864421222b5f12f72cdb671d246e075eb7839e.tar.gz
binutils-gdb-c3864421222b5f12f72cdb671d246e075eb7839e.tar.bz2
binutils-gdb-c3864421222b5f12f72cdb671d246e075eb7839e.zip
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
being the last symbol.
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r--bfd/aoutx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 2171e84560d..beb63f9b1f6 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -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;