🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #21427

Re: What is wrong with the Sumacc C compiler

#21427
From: Earle R. Horton
Date: Mon, 09 Nov 1987 20:11
16 lines
1485 bytes
In article <2283@watcgl.waterloo.edu>, 
	kdmoen@watcgl.waterloo.edu (Doug Moen) writes:
> 
> Sorry, but this sounds blatantly impossible.  If the code were to move
> while the program is running, then *all of the return addresses and
> function pointers on the stack would become invalid* and the program
> would crash, regardless of what compiler was used to create the program.
> 

Nevertheless, that's how it's done on the Mac.  I suggest you read the 
appropriate section of Inside Macintosh (Segment Loader in this case) the
next time you get the urge to say that something is "blatantly impossible."
-- 
*********************************************************************
*Earle R. Horton, H.B. 8000, Dartmouth College, Hanover, NH 03755   *
*********************************************************************
Technical Details
Message-ID: <7587@dartvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!elroy!cit-vax!ucla-cs!zen!ucbvax!decvax!dartvax!earleh
References: <7486@dartvax.UUCP> <7508@dartvax.UUCP> <21522@ucbvax.BERKELEY.EDU> <2283@watcgl.waterloo.edu>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!elroy!cit-vax!ucla-cs!zen!ucbvax!decvax!dartvax!earleh
From: earleh@dartvax.UUCP (Earle R. Horton)
Newsgroups: comp.sys.mac
Subject: Re: What is wrong with the Sumacc C compiler
Message-ID: <7587@dartvax.UUCP>
Date: Mon, 9-Nov-87 15:11:03 EST
Article-I.D.: dartvax.7587
Posted: Mon Nov  9 15:11:03 1987
Date-Received: Thu, 12-Nov-87 05:21:00 EST
References: <7486@dartvax.UUCP> <7508@dartvax.UUCP> <21522@ucbvax.BERKELEY.EDU> <2283@watcgl.waterloo.edu>
Organization: disorganized
Lines: 16
Keywords: C compiler gripe
Summary: y