coff coff
I missed this use of the loop induction variable outside the loop. PR binutils/17512 * coffcode.h (coff_slurp_line_table): Use updated lineno_count when building func_table.
This commit is contained in:
parent
fcfa62408a
commit
0ac2337434
|
@ -1,3 +1,9 @@
|
|||
2014-11-11 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR binutils/17512
|
||||
* coffcode.h (coff_slurp_line_table): Use updated lineno_count
|
||||
when building func_table.
|
||||
|
||||
2014-11-11 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR binutils/17512
|
||||
|
@ -8,6 +14,7 @@
|
|||
lineno. Don't both allocating terminator in n_lineno_cache.
|
||||
Redirect sym->lineno pointer to where n_lineno_cache will be
|
||||
copied, and free n_lineno_cache.
|
||||
|
||||
* pe-mips.c (NUM_HOWTOS): Typo fix.
|
||||
|
||||
2014-11-11 Alan Modra <amodra@gmail.com>
|
||||
|
|
|
@ -4613,7 +4613,7 @@ coff_slurp_line_table (bfd *abfd, asection *asect)
|
|||
alent **p = func_table;
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; i < counter; i++)
|
||||
for (i = 0; i < asect->lineno_count; i++)
|
||||
if (lineno_cache[i].line_number == 0)
|
||||
*p++ = &lineno_cache[i];
|
||||
|
||||
|
|
Loading…
Reference in New Issue