Ken Raeburn 87e4849501 * frags.c (frag_init): Call obstack_begin on `frags'.
* subsegs.c (subsegs_begin): Don't do it here.
* as.c (main): Call frag_init before subsegs_begin.

* frags.c (frag_append_1_char): New function.
* frags.h (frag_append_1_char): Declare it.
(FRAG_APPEND_1_CHAR): Call it.  Old definition is commented out for now.

* as.h (struct frag): Added (but commented out) new fields for tracking current
alignment.
(frag_now_fix): Changed macro to function declaration.
* frags.c (frag_now_fix): Define function here.
(frag_new): Use it instead of accessing `frags' directly.
* frags.h (frags): Change comment to indicate it shouldn't be accessed directly.
* subsegs.h (struct frchain): New field frch_obstack, intended to eventually
replace global `frags' obstack.
* subsegs.c (subseg_set_rest): Use frag_now_fix instead of accessing `frags'
directly.  Initialize fields of new frchainS explicitly instead of with memset.
* config/obj-coff.c (obj_coff_ln) [!BFD_ASSEMBLER]: Use frag_now_fix.
* config/tc-mips.c (s_loc), config/obj-vms.c (vms_resolve_symbol_redef),
symbols.c (colon): Likewise.
1994-12-20 22:42:03 +00:00
..
1994-11-30 02:48:31 +00:00
1992-02-27 18:52:18 +00:00
1994-11-30 02:48:31 +00:00
1991-12-01 07:11:25 +00:00
1994-07-08 19:36:55 +00:00
1992-02-24 18:25:19 +00:00
1993-12-20 16:43:37 +00:00
1994-09-13 02:15:23 +00:00
1992-02-17 15:54:49 +00:00
1994-10-07 22:00:18 +00:00
1992-12-03 23:41:18 +00:00
1992-08-25 22:12:54 +00:00
1994-11-09 19:57:37 +00:00
1993-05-05 12:41:52 +00:00
1993-05-05 12:43:06 +00:00
1992-02-21 11:37:01 +00:00
1994-02-18 19:57:35 +00:00
1992-02-13 08:39:15 +00:00
1994-05-07 23:51:30 +00:00