home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!umn.edu!The-Star.honeywell.com!saifr00.cfsat.honeywell.com!klaus
- From: klaus@saifr00.cfsat.honeywell.com (Todd Klaus)
- Subject: What is text, data & bss anyway?
- Message-ID: <1992Dec14.234221.6644@saifr00.cfsat.honeywell.com>
- Organization: Honeywell Air Transport Systems Division
- Date: Mon, 14 Dec 92 23:42:21 GMT
- Lines: 26
-
- Newsgroups: comp.unix.questions
- Subject: What is text, data & bss anyway?
- Summary:
- Expires:
- Sender:
- Followup-To:
- Distribution:
- Organization: Honeywell Air Transport Systems Division
- Keywords:
-
- My collegues and I are experiencing some confusion as to the exact definition
- of the text, data and bss segments of a executable image on disk and how this
- changes when it is loaded into core memory. My understanding (simplistic) is
- that the text segment is executable instructions, data is initialized data, and
- bss is uinitialized data. Is this correct? Could someone please show me a code
- fragment showing what types of variables would fall into each category? As an
- aside, does copy-on-write have anything to do with this scheme?
-
- Thanks,
-
- tk
-
- klaus@saifr00.cfsat.honeywell.com
- --
- This is a sample sig file!
-
-