delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/22/10:01:48

From: Weiqi Gao <weiqigao AT a DOT crl DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: .bss ?
Date: Mon, 20 Oct 1997 20:48:07 -0500
Organization: Spectrum Healthcare Services
Message-ID: <344C09D7.1F42FC5C@a.crl.com>
References: <877332253 DOT 5594 AT dejanews DOT com> <344B1DCD DOT 50E7C65A AT LSTM DOT Ruhr-UNI-Bochum DOT De>
NNTP-Posting-Host: a116012.stl1.as.crl.com
Mime-Version: 1.0
Lines: 22
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Thomas Demmer wrote:
> 
> bor AT EuropeMail DOT com wrote:
> >
> > I know meaning of:
> >
> >      .text
> >      .data
> >      .stack
> >
> > but what is ".bss" for?
> Block Storage Segment.
> That's where global, uninitialized variables are stored (I think)

I have puzzled over this for a long time.  Until I read [1], where it is
expalined: "Uninitialized data segment.  This segment is often called
the "bss" segment, named after an ancient assembler operator that stood
for "block started by symbol."

--
Weiqi Gao
weiqigao AT a DOT crl DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019