diff options
author | Alan Modra <amodra@gmail.com> | 2000-05-23 04:48:21 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-05-23 04:48:21 +0000 |
commit | ee7fcc42b119854f718a2a11e086203c3542a6eb (patch) | |
tree | fa4922347f751abb91024c6c88b50d4152b88c28 /gas/frags.c | |
parent | b08dff7bbef92725d8cf96b9b7e0b2fb8bc6357a (diff) | |
download | gdb-ee7fcc42b119854f718a2a11e086203c3542a6eb.zip gdb-ee7fcc42b119854f718a2a11e086203c3542a6eb.tar.gz gdb-ee7fcc42b119854f718a2a11e086203c3542a6eb.tar.bz2 |
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.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gas/frags.c b/gas/frags.c index 6518f37..ddafda7 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. |