PPC sdata problems

Alan Modra amodra@bigpond.net.au
Thu Jun 17 00:52:00 GMT 2004


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



More information about the Binutils mailing list