This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: R_EMB_PPC_SDA21 (powerpc reloc) question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]