diff options
author | Steve Chamberlain <sac@cygnus> | 1992-06-09 19:36:49 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1992-06-09 19:36:49 +0000 |
commit | 65bfcf2e612af31e16b067ffb4113b6b293f041e (patch) | |
tree | ca17e5eb06161371f31b9ac4903f848c55460a02 /gas/subsegs.c | |
parent | a1765cf0fef298858cfe669e0b8143dba90b4dd1 (diff) | |
download | gdb-65bfcf2e612af31e16b067ffb4113b6b293f041e.zip gdb-65bfcf2e612af31e16b067ffb4113b6b293f041e.tar.gz gdb-65bfcf2e612af31e16b067ffb4113b6b293f041e.tar.bz2 |
* subsegs.c (subsegs_begin): create bss0_frchainP in the same was
as data0_frchainP
* write.c (write_object_file): various changes to handle data in
the BSS segment in much the same was as stuff in the DATA segment.
* subsegs.c (subseg_change): allow and handle a change into SEG_BSS.
Diffstat (limited to 'gas/subsegs.c')
-rw-r--r-- | gas/subsegs.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gas/subsegs.c b/gas/subsegs.c index e883e29..5ef9570 100644 --- a/gas/subsegs.c +++ b/gas/subsegs.c @@ -35,7 +35,8 @@ frchainS* frchain_root, #else frchainS* frchain_root, * frchain_now, /* Commented in "subsegs.h". */ - * data0_frchainP; + * data0_frchainP, + * bss0_frchainP; #endif char * const /* in: segT out: char* */ @@ -108,6 +109,10 @@ void #else subseg_new (SEG_DATA, 0); /* .data 0 */ data0_frchainP = frchain_now; + + subseg_new (SEG_BSS, 0); + bss0_frchainP = frchain_now; + #endif } |