This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

forcing C++ objects to an address (ABI issue B-7)


Hi,

I asked this question to gcc-help, which seemed more appropriate,
but was referred either to here or the binutils list.

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?

Any help much appreciated!

Thanks

Anthony



This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data 
and other information are not warranted as to completeness or accuracy and 
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.



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