diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-03-30 00:06:10 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-03-30 00:06:10 +0000 |
commit | 7077c9f595e950f2b12fc4d99e23f619ac00d33a (patch) | |
tree | e7e530b2f3a900b43108b2a9583ba02109095539 /gas/config/tc-ns32k.c | |
parent | 5f5ae9e23390d19d96b3d55b45c8d63e1375328c (diff) | |
download | binutils-redhat-7077c9f595e950f2b12fc4d99e23f619ac00d33a.tar.gz |
Prepare for multi-pass relaxation.
Diffstat (limited to 'gas/config/tc-ns32k.c')
-rw-r--r-- | gas/config/tc-ns32k.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gas/config/tc-ns32k.c b/gas/config/tc-ns32k.c index f538129616..f66795c88c 100644 --- a/gas/config/tc-ns32k.c +++ b/gas/config/tc-ns32k.c @@ -1,5 +1,6 @@ /* ns32k.c -- Assemble on the National Semiconductor 32k series - Copyright 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 + Copyright 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, + 2001 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -2102,9 +2103,14 @@ md_estimate_size_before_relax (fragP, segment) frag_wane (fragP); break; } + /* Fall thru */ + case IND (BRANCH, BYTE): - fragP->fr_var += 1; + case IND (BRANCH, WORD): + case IND (BRANCH, DOUBLE): + fragP->fr_var = md_relax_table[fragP->fr_subtype].rlx_length; break; + default: break; } |