* write.c (relax_segment): Use was_address instead of address when

setting fr_fix field for align frag due to backwards .org.
This commit is contained in:
Bob Wilson 2004-08-05 16:55:00 +00:00
parent 69babf9523
commit e750405d4b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-08-05 Bob Wilson <bob.wilson@acm.org>
* write.c (relax_segment): Use was_address instead of address when
setting fr_fix field for align frag due to backwards .org.
2004-07-29 Alexandre Oliva <aoliva@redhat.com>
Introduce SH2a support.

View File

@ -2412,7 +2412,7 @@ relax_segment (struct frag *segment_frag_root, segT segment)
fragP->fr_type = rs_align;
fragP->fr_subtype = 0;
fragP->fr_offset = 0;
fragP->fr_fix = after - address;
fragP->fr_fix = after - was_address;
growth = stretch;
}