Article View: gnu.g++.bug
Article #2011Re: (none)
From: Dirk Grunwald
Date: Thu, 18 May 1989 21:30
Date: Thu, 18 May 1989 21:30
46 lines
2033 bytes
2033 bytes
there's still a problem in newld.c on the Sun-3. I've added the following (sorry, no context diffs) ..around line 2870, you should see... ---------------------------------------------------------------------- outheader.a_text = text_size; #ifdef sequent outheader.a_text += N_ADDRADJ (outheader); #endif #ifdef sparc data_size = (data_size + sizeof(double) - 1) & ~(sizeof(double)-1); #endif /* Make the data segment address start in memory on a suitable boundary. */ ---------------------------------------------------------------------- change this to... ---------------------------------------------------------------------- outheader.a_text = text_size; #ifdef sequent outheader.a_text += N_ADDRADJ (outheader); #endif #if defined(sun) || defined(sparc) data_size = (data_size + sizeof(double) - 1) & ~(sizeof(double)-1); #endif /* Make the data segment address start in memory on a suitable boundary. */ ---------------------------------------------------------------------- and then add, at line ~2997 ---------------------------------------------------------------------- #if defined(sun) || defined(sparc) bss_size = (bss_size + sizeof(double) - 1) & ~(sizeof(double)-1); #endif if (end_symbol) /* These are null if -r. */ ---------------------------------------------------------------------- -- Dirk Grunwald Univ. of Illinois grunwald@flute.cs.uiuc.edu
Technical Details
Message-ID:
<GRUNWALD.89May18163053@flute.cs.uiuc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!uxc!garcon!garcon.cso.uiuc.edu!grunwaldReferences:
<8905181552.AA03305@sigyn>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!uxc!garcon!garcon.cso.uiuc.edu!grunwald From: grunwald@flute.cs.uiuc.edu (Dirk Grunwald) Newsgroups: gnu.g++.bug Subject: Re: (none) Message-ID: <GRUNWALD.89May18163053@flute.cs.uiuc.edu> Date: 18 May 89 21:30:53 GMT References: <8905181552.AA03305@sigyn> Sender: news@garcon.cso.uiuc.edu Reply-To: grunwald@flute.cs.uiuc.edu Distribution: gnu Organization: University of Illinois, Urbana-Champaign Lines: 46 In-reply-to: kha@idt.unit.no's message of 18 May 89 15:52:01 GMT