* ecoff.c (ecoff_build_lineno): Handle count correctly for last
line number.
This commit is contained in:
parent
6f15d409d0
commit
64d527f761
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Jul 9 00:05:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
|
|
||||||
|
* ecoff.c (ecoff_build_lineno): Handle count correctly for last
|
||||||
|
line number.
|
||||||
|
|
||||||
Fri Jul 8 15:22:07 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
Fri Jul 8 15:22:07 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
||||||
|
|
||||||
* (process_pseudo_op): Pass right are do do_aif.
|
* (process_pseudo_op): Pass right are do do_aif.
|
||||||
|
|
|
@ -3600,7 +3600,11 @@ ecoff_build_lineno (backend, buf, bufend, offset, linecntptr)
|
||||||
(in words). Do this first, so that we can skip ahead to the
|
(in words). Do this first, so that we can skip ahead to the
|
||||||
next useful line number entry. */
|
next useful line number entry. */
|
||||||
if (l->next == (lineno_list_t *) NULL)
|
if (l->next == (lineno_list_t *) NULL)
|
||||||
count = 0;
|
{
|
||||||
|
/* We want a count of zero, but it will be decremented
|
||||||
|
before it is used. */
|
||||||
|
count = 1;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
count = ((l->next->frag->fr_address + l->next->paddr
|
count = ((l->next->frag->fr_address + l->next->paddr
|
||||||
|
|
Loading…
Reference in a new issue