This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: ld errors -- wrong output section for SDAREL target
From: Michael Meissner <meissner@cygnus.com>
Date: Tue, 21 Mar 2000 19:16:23 -0500
On Mon, Mar 20, 2000 at 07:37:19PM -0800, Ian Lance Taylor wrote:
> I don't know. Michael, I think you wrote this code. The code in
> question is in ppc_elf_relocate_section and a couple of other places.
> It explicitly checks whether the output section of a R_PPC_SDAREL16
> relocation is in the .sdata or .sbss section. Do you remember why it
> does this?
At this stage I no longer remember. I suspect I was just cloning code from the
sparc or i386 ports.
The code in question is unique to the PowerPC, actually.
Ian