Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: The Pure Bit... Message-ID: <16650@cbmvax.commodore.com> Date: 19 Dec 90 01:10:03 GMT References: <1990Nov22.142858.9900@canterbury.ac.nz> Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) Organization: Commodore, West Chester, PA Lines: 18 In article dillon@overload.Berkeley.CA.US (Matthew Dillon) writes: > If you are talking about hunks, generally any program that contains a > BSS or DATA hunk is *NOT* residentable and thus not usually pure. > Residentable programs generally allocate their data/bss at run-time. One (unlikely) exception is a program that has Data segments, but never modifies the globals (i.e. const data only). Another would be one that makes new copies of the data segment(s) for each invocation in the startup, and then all global refs are done via a register or some other dynamic means. -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup The compiler runs Like a swift-flowing river I wait in silence. (From "The Zen of Programming") ;-)