aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-openrisc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-05-10 11:32:52 +0000
committerAlan Modra <amodra@gmail.com>2001-05-10 11:32:52 +0000
commit606ab118baddd89493a504f6622c944562cc6bc5 (patch)
treeb2b4ea0ee8f6cdf520d6f71864772d313250a5cf /gas/config/tc-openrisc.c
parentdab11f21ed899714eaec586add22deacb8f3ade6 (diff)
downloadfsf-binutils-gdb-606ab118baddd89493a504f6622c944562cc6bc5.zip
fsf-binutils-gdb-606ab118baddd89493a504f6622c944562cc6bc5.tar.gz
fsf-binutils-gdb-606ab118baddd89493a504f6622c944562cc6bc5.tar.bz2
Fix more fallout from multi-pass relaxation patch.
Diffstat (limited to 'gas/config/tc-openrisc.c')
-rw-r--r--gas/config/tc-openrisc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gas/config/tc-openrisc.c b/gas/config/tc-openrisc.c
index 2907cd4..1aae4b4 100644
--- a/gas/config/tc-openrisc.c
+++ b/gas/config/tc-openrisc.c
@@ -277,8 +277,6 @@ md_estimate_size_before_relax (fragP, segment)
fragS * fragP;
segT segment;
{
- int old_fr_fix = fragP->fr_fix;
-
/* The only thing we have to handle here are symbols outside of the
current segment. They may be undefined or in a different segment in
which case linker scripts may place them anywhere.
@@ -316,7 +314,7 @@ md_estimate_size_before_relax (fragP, segment)
}
}
- return (fragP->fr_var + fragP->fr_fix - old_fr_fix);
+ return md_relax_table[fragP->fr_subtype].rlx_length;
}
/* *fragP has been relaxed to its final size, and now needs to have