R_EMB_PPC_SDA21 (powerpc reloc) question
Till Straumann
strauman@SLAC.Stanford.EDU
Wed Feb 19 05:32:00 GMT 2003
Alan Modra wrote:
> On Tue, Feb 18, 2003 at 06:25:34PM -0800, Till Straumann wrote:
>
>>I figured. Would you be willing to review an implementation
>>if I came up with one
>
>
> Sure.
>
One problem is how to obtain the _SDA_BASE_ and _SDA2_BASE_
offsets against the symbol's (i.e. the symbol referenced
by the reloc) absolute address.
I have two ideas:
1) assume a fixed value of 32768
2) assume the caller stores it int symbol->section->symbol->value
does anybody have a better suggestion?
-- Till
More information about the Binutils
mailing list