This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PowerPC no small data build uses .sbss? (but sbss should not be used, right?)
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "William. Rivet" <William dot Rivet at hs dot utc dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 8 Jun 2005 01:18:17 +0930
- Subject: Re: PowerPC no small data build uses .sbss? (but sbss should not be used, right?)
- References: <42A5A3E1.3060808@hs.utc.com>
On Tue, Jun 07, 2005 at 09:40:49AM -0400, William. Rivet wrote:
> I have been trying to guarantee the lack of small data use in part of a
> project I am working on (a minimal OS type product that itself will
> leave small data registers for use by the application).
Pass -G 0 to the linker, ie. -Wl,-G,0 to gcc.
--
Alan Modra
IBM OzLabs - Linux Technology Centre