This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PPC sdata problems
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Thu, 17 Jun 2004 10:22:35 +0930
- Subject: Re: PPC sdata problems
- References: <20040616190921.GA4857@nevyn.them.org>
On Wed, Jun 16, 2004 at 03:09:22PM -0400, Daniel Jacobowitz wrote:
> There's a number of possible fixes for this. My favorite is to not check
> the flags; just use the provided .sdata and .sdata2 sections in dynobj if
> there are any. Thoughts?
No, that won't work. You can't extent an input section without copying
the existing contents. Create the _SDA_BASE_ symbol relative to the
existing section, if any, and also create a new linker section.
--
Alan Modra
IBM OzLabs - Linux Technology Centre