projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f30d7f
)
* write.c (relax_segment <rs_space>): Account for fr_fix.
author
Alan Modra
<amodra@gmail.com>
Thu, 26 Jul 2001 03:39:29 +0000
(
03:39
+0000)
committer
Alan Modra
<amodra@gmail.com>
Thu, 26 Jul 2001 03:39:29 +0000
(
03:39
+0000)
gas/ChangeLog
patch
|
blob
|
history
gas/write.c
patch
|
blob
|
history
diff --git
a/gas/ChangeLog
b/gas/ChangeLog
index
456a6dc
..
dc13dc1
100644
(file)
--- a/
gas/ChangeLog
+++ b/
gas/ChangeLog
@@
-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
diff --git
a/gas/write.c
b/gas/write.c
index
41edcb3
..
30f98fb
100644
(file)
--- a/
gas/write.c
+++ b/
gas/write.c
@@
-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;