Fwd: [cxx-abi] Types Table pointers

Richard Henderson rth at redhat.com
Wed Mar 21 03:44:44 UTC 2001


On Wed, Mar 21, 2001 at 03:37:07AM +0000, Jason Merrill wrote:
> From: "Shrivastav, Priti" <priti.shrivastav at intel.com>
[...]
> The typeinfo is 16bytes (>8 bytes go in data) and is global (globals
> by default go in data).  Should they be put in sdata or should we make
> the typeinfo pointer be segrel.

Neither.  I believe that they should continue to be gprel.
The only reason things go into .sdata is to fit with a 22-bit
offset for the addl instruction, which we are not using.

We have a 64-bit gp-relative offset -- they can go into .data,
a linkonce section, or anywhere.


r~




More information about the cxx-abi-dev mailing list