mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
* 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:
parent
69babf9523
commit
e750405d4b
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user