Path: chuka.playstation.co.uk!news From: sceetech Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: Optimise Problem - trunced data Date: Wed, 02 Apr 1997 12:16:51 +0100 Organization: SCEE Lines: 28 Message-ID: <33424023.72C4@interactive.sony.com> References: <333d7fd9.23907964@news.playstation.co.uk> Reply-To: ps_yaroze@interactive.sony.com NNTP-Posting-Host: 194.203.13.10 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win95; I) Alex Amsel wrote: > > When switching on the optimisingt options in gcc, my program gives > something like the following error: > > relocation truncated to fit: GPREL RSDOFSX > > Same happens if I ever use RSDOFSY. > > These are defined in libps.h as extern short RSDOFSX[2] > > Couple of other questions: > > How can I set the stack to be in the data cache? > How big is the stack? [or is it just 'however'] > > * Alex Amsel * Into Beyond Web Design & JAVA Programming * > * http://www.intobeyond.com * WWFC for the Treble 2026 * > >Sillytuna: Official Sony Yaroatsi PlayStation Developer!< I tried using PSDCNT and that didn't work either. A lot of things seem to have been left in from the full libraries, which just don't work on the cut down Yaroze library. I'm afraid this is another case. There is no way to set the stack without using assembly, (working on this), and the stack can have a maximum size set. Stuart