forcing C++ objects to an address (ABI issue B-7)
llewelly@xmission.com
llewelly@xmission.com
Thu Apr 8 17:39:00 GMT 2004
Anthony Heading <aheading@jpmorgan.com> writes:
> Hi,
>
> In http://www.codesourcery.com/cxx-abi/cxx-closed.html#B7, the question
> of how to support C++ objects in shared memory is resolved by requiring
> "to force the objects, Vtables, functions, etc. to the same addresses
> in the various processes involved."
>
> How could this be done with GCC (specifically on Linux or Solaris if
> that is relevant)? Is it as simple as ensuring the executable text
> is in the same place? Or is some of the vtable data initialized at
> runtime?
I think you will have better luck asing on binutils at gnu.org, or gcc
at gcc.gnu.org .
More information about the Gcc-help
mailing list