frags.c (60484) | frags.c (61843) |
---|---|
1/* frags.c - manage frags - | 1/* frags.c - manage frags - |
2 Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 97, 1998 | 2 Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 |
3 Free Software Foundation, Inc. 4 5 This file is part of GAS, the GNU Assembler. 6 7 GAS is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation; either version 2, or (at your option) 10 any later version. --- 77 unchanged lines hidden (view full) --- 88/* 89 * frag_new() 90 * 91 * Call this to close off a completed frag, and start up a new (empty) 92 * frag, in the same subsegment as the old frag. 93 * [frchain_now remains the same but frag_now is updated.] 94 * Because this calculates the correct value of fr_fix by 95 * looking at the obstack 'frags', it needs to know how many | 3 Free Software Foundation, Inc. 4 5 This file is part of GAS, the GNU Assembler. 6 7 GAS is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation; either version 2, or (at your option) 10 any later version. --- 77 unchanged lines hidden (view full) --- 88/* 89 * frag_new() 90 * 91 * Call this to close off a completed frag, and start up a new (empty) 92 * frag, in the same subsegment as the old frag. 93 * [frchain_now remains the same but frag_now is updated.] 94 * Because this calculates the correct value of fr_fix by 95 * looking at the obstack 'frags', it needs to know how many |
96 * characters at the end of the old frag belong to (the maximal) 97 * fr_var: the rest must belong to fr_fix. 98 * It doesn't actually set up the old frag's fr_var: you may have 99 * set fr_var == 1, but allocated 10 chars to the end of the frag: 100 * in this case you pass old_frags_var_max_size == 10. | 96 * characters at the end of the old frag belong to the maximal 97 * variable part; The rest must belong to fr_fix. 98 * It doesn't actually set up the old frag's fr_var. You may have 99 * set fr_var == 1, but allocated 10 chars to the end of the frag; 100 * In this case you pass old_frags_var_max_size == 10. 101 * In fact, you may use fr_var for something totally unrelated to the 102 * size of the variable part of the frag; None of the generic frag 103 * handling code makes use of fr_var. |
101 * 102 * Make a new frag, initialising some components. Link new frag at end 103 * of frchain_now. 104 */ 105void 106frag_new (old_frags_var_max_size) 107 /* Number of chars (already allocated on obstack frags) in 108 variable_length part of frag. */ --- 258 unchanged lines hidden --- | 104 * 105 * Make a new frag, initialising some components. Link new frag at end 106 * of frchain_now. 107 */ 108void 109frag_new (old_frags_var_max_size) 110 /* Number of chars (already allocated on obstack frags) in 111 variable_length part of frag. */ --- 258 unchanged lines hidden --- |