* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
authorHans-Peter Nilsson <hp@axis.com>
Mon, 7 Feb 2005 02:51:28 +0000 (02:51 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Mon, 7 Feb 2005 02:51:28 +0000 (02:51 +0000)
being the last symbol.

bfd/ChangeLog
bfd/aoutx.h

index 033bf574deccd601133a2f228e69e3d554c3ebbb..7648d41450998ef6e6a57bf0952bde0ef45f6556 100644 (file)
@@ -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
index 2171e84560dc6104d26065269832cde2bb280a59..beb63f9b1f628dddc3cb08f55a6162c91c7c17ca 100644 (file)
@@ -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;