public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* forcing C++ objects to an address (ABI issue B-7)
@ 2004-04-07 17:20 Anthony Heading
  2004-04-08 17:39 ` llewelly
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Heading @ 2004-04-07 17:20 UTC (permalink / raw)
  To: gcc-help


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?

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: forcing C++ objects to an address (ABI issue B-7)
  2004-04-07 17:20 forcing C++ objects to an address (ABI issue B-7) Anthony Heading
@ 2004-04-08 17:39 ` llewelly
  0 siblings, 0 replies; 2+ messages in thread
From: llewelly @ 2004-04-08 17:39 UTC (permalink / raw)
  To: Anthony Heading; +Cc: gcc-help

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 .

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-08 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-07 17:20 forcing C++ objects to an address (ABI issue B-7) Anthony Heading
2004-04-08 17:39 ` llewelly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).