summaryrefslogtreecommitdiff
path: root/gas/frags.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-05-23 04:48:21 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-05-23 04:48:21 +0000
commitff123c341239e2cd44f9f5d067bcbb25a7d52245 (patch)
tree3c8512c39099c0e5734aeb6228dcd961ff6d66c3 /gas/frags.c
parentf9aac6c76b8f13fcc4fcab4b398b7cd2c2567af5 (diff)
downloadbinutils-redhat-ff123c341239e2cd44f9f5d067bcbb25a7d52245.tar.gz
Pass jump reloc in fr_var so it can be used in
md_estimate_size_before_relax, replacing old kludge.
Diffstat (limited to 'gas/frags.c')
-rw-r--r--gas/frags.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/gas/frags.c b/gas/frags.c
index 6518f3717b..ddafda700d 100644
--- a/gas/frags.c
+++ b/gas/frags.c
@@ -95,11 +95,14 @@ frag_grow (nchars)
* [frchain_now remains the same but frag_now is updated.]
* Because this calculates the correct value of fr_fix by
* looking at the obstack 'frags', it needs to know how many
- * characters at the end of the old frag belong to (the maximal)
- * fr_var: the rest must belong to fr_fix.
- * It doesn't actually set up the old frag's fr_var: you may have
- * set fr_var == 1, but allocated 10 chars to the end of the frag:
- * in this case you pass old_frags_var_max_size == 10.
+ * characters at the end of the old frag belong to the maximal
+ * variable part; The rest must belong to fr_fix.
+ * It doesn't actually set up the old frag's fr_var. You may have
+ * set fr_var == 1, but allocated 10 chars to the end of the frag;
+ * In this case you pass old_frags_var_max_size == 10.
+ * In fact, you may use fr_var for something totally unrelated to the
+ * size of the variable part of the frag; None of the generic frag
+ * handling code makes use of fr_var.
*
* Make a new frag, initialising some components. Link new frag at end
* of frchain_now.