Path: utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!LURCH.STANFORD.EDU!tiemann From: tiemann@LURCH.STANFORD.EDU (Michael Tiemann) Newsgroups: gnu.g++.bug Subject: An old problem with "Hello world" Message-ID: <8810070529.AA07867@lurch.stanford.edu> Date: 7 Oct 88 05:29:37 GMT References: <8809250559.AA01798@comp.vuw.ac.nz> Sender: daemon@tut.cis.ohio-state.edu Reply-To: tiemann@lurch.stanford.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 5 The problem was in varasm.c. The trick is to make variables which need to be initialized at the file level appear to be in initialized data, rather than in uninitialized data. GNU ld will not load the contents of a library file just for .bss space. Michael