* write.c (relax_segment <rs_space>): Account for fr_fix.

This commit is contained in:
Alan Modra 2001-07-26 03:39:29 +00:00
parent 9f30d7f540
commit 050be34e82
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-07-26 Alan Modra <amodra@bigpond.net.au>
* write.c (relax_segment <rs_space>): Account for fr_fix.
2001-07-25 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (md_estimate_size_before_relax): Make sure

View File

@ -2479,7 +2479,7 @@ relax_segment (segment_frag_root, segment)
fragP->fr_symbol = 0;
}
else
growth = (was_address + amount
growth = (was_address + fragP->fr_fix + amount
- fragP->fr_next->fr_address);
}
break;