Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!decwrl!sgi!shinobu!odin!xhead.esd.sgi.com!jsw From: jsw@xhead.esd.sgi.com (Jeff Weinstein) Newsgroups: comp.sys.sgi Subject: Re: G0 libraries Message-ID: <9572@odin.corp.sgi.com> Date: 27 Jun 90 05:56:57 GMT References: <9006240711.16666@godzilla> <3513@umbc3.UMBC.EDU> <9555@odin.corp.sgi.com> Sender: news@odin.corp.sgi.com Reply-To: jsw@xhead.esd.sgi.com (Jeff Weinstein) Organization: Silicon Graphics Inc. Lines: 16 In article <9555@odin.corp.sgi.com>, bean@putter.wpd.sgi.com (Bean Anderson) writes: > Programs performing dynamic loading will not necessarily "bomb" if they > weren't compiled -G 0. The main thing is that the dynamically loaded > modules were compiled -G 0; if not, the dynamically loaded module will > end up overlaying data space in the GP region. You could write a dynamic loader that does GP allocation and fixes up all references to GP data... --Jeff Jeff Weinstein - X Protocol Police Silicon Graphics, Inc., Entry Systems Division, Window Systems jsw@xhead.esd.sgi.com Any opinions expressed above are mine, not sgi's.