* frags.c (frag_offset_fixed_p): Reinitialise offset before

second scan.
This commit is contained in:
Alan Modra
2006-04-06 04:38:33 +00:00
parent a656f8ab2c
commit ec651a3b25
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-04-06 Alan Modra <amodra@bigpond.net.au>
* frags.c (frag_offset_fixed_p): Reinitialise offset before
second scan.
2006-04-05 Richard Sandiford <richard@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>

View File

@ -419,6 +419,7 @@ frag_offset_fixed_p (fragS *frag1, fragS *frag2, bfd_vma *offset)
}
/* Maybe frag1 is after frag2. */
off = frag1->fr_address - frag2->fr_address;
frag = frag2;
while (frag->fr_type == rs_fill)
{