axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Axiom ia64


From: Richard Harke
Subject: Re: [Axiom-developer] Axiom ia64
Date: Fri, 1 Dec 2006 09:26:55 -0800
User-agent: KMail/1.7.2

On Tue November 14 2006 18:43, you wrote:

> This would be most appreciated, and I'd be happy to lend assistance.
> Knowledge of the ia64 reloc definitions is obviously key, though I put
> together the alpha version mostly as a guesswork based on the mips
> example.  If ia64 were done, we could also share with the lush
> project, on which the original sfaslbfd_mips was inspired.  And
> someday it would be great to get this back into bfd upstream.
>
> The basic idea is that each section of the .o file has a got table
> appended to handle the relocs that refer to the special gp register
> value.
I have been studying ld.so and also Xorg as that has a loader function.
Its not clear to me that they handle just the same set of relocs.
The R_IA64_ defines in elf.h have two bit fields for the ia64 and
these are used in ld.so but that info seems not to be used in Xorg.
And bfd uses an enum so such structuring of the values isn't
possible.
I notice some comments about a standalone version of the loader
code. That should be very helpful if it works.
You said something about the heap having to do with the dlopen version
not working but I noticed some things that made me think that
dynamic linking, ie letting the lisp code access vars by name
was an issue. Can you provide more detail?
Any suggestions would be helpful.

Richard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]