ia64 vtable entries (was: C implementations of the C++ ABI)

Christophe de Dinechin ddd at cup.hp.com
Fri Feb 25 02:12:34 UTC 2000


Jason Merrill wrote:
> 
> >>>>> Mark Mitchell <mark at codesourcery.com> writes:
> 
>  >   o GP/address pairs in vtables
> 
>  >     This one concerns me the most.  I don't even know if there's
>  >     any kind of standard assembly syntax for this.  Is there?
>  >     (If not, there should be -- otherwise, you can't say -S to your
>  >     compiler and get anything sensible out.)
> 
> Richard Henderson still doesn't believe that there's a suitable reloc for
> this in the base ABI, and apparently I forgot to write up his explanation
> for a wider audience.  Richard, care to repeat it in a less transient
> medium?

I remember an early message saying something like: There is no suitable reloc,
but there is some relocation that does this by sheer luck. Let me see if I can
find it...

Ah, here is the text:

Richard Henderson of Cygnus points out that the IA-64 relocations don't
really support doing this.  However, the R_IA_64_IPLT*SB relocations do
perform the correct action.  The problem is that they are currently
specified to be valid only in executables and shared objects.  I
believe that the problem can be solved by simply removing this
restriction.  The static linker support required shouldn't be major --
it would presumably just pass the relocations through to the linked
object and let the dynamic linker deal with them.


Did this change?
Regards
Christophe




More information about the cxx-abi-dev mailing list