home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / wizards / 5225 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.2 KB  |  36 lines

  1. Newsgroups: comp.unix.wizards
  2. 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
  3. From: klaus@saifr00.cfsat.honeywell.com (Todd Klaus)
  4. Subject:  What is text, data & bss anyway?
  5. Message-ID: <1992Dec14.234221.6644@saifr00.cfsat.honeywell.com>
  6. Organization: Honeywell Air Transport Systems Division
  7. Date: Mon, 14 Dec 92 23:42:21 GMT
  8. Lines: 26
  9.  
  10. Newsgroups: comp.unix.questions
  11. Subject: What is text, data & bss anyway?
  12. Summary: 
  13. Expires: 
  14. Sender: 
  15. Followup-To: 
  16. Distribution: 
  17. Organization: Honeywell Air Transport Systems Division
  18. Keywords: 
  19.  
  20. My collegues and I are experiencing some confusion as to the exact definition
  21. of the text, data and bss segments of a executable image on disk and how this
  22. changes when it is loaded into core memory.  My understanding (simplistic) is
  23. that the text segment is executable instructions, data is initialized data, and 
  24. bss is uinitialized data.  Is this correct?  Could someone please show me a code
  25. fragment showing what types of variables would fall into each category?  As an
  26. aside, does copy-on-write have anything to do with this scheme?
  27.  
  28. Thanks,
  29.  
  30. tk
  31.  
  32. klaus@saifr00.cfsat.honeywell.com
  33. -- 
  34. This is a sample sig file!
  35.  
  36.