This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
how to force C++ objects to an address? (ABI issue B-7)
- From: Anthony Heading <aheading at jpmorgan dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 20 Apr 2004 02:20:13 +0900
- Subject: how to force C++ objects to an address? (ABI issue B-7)
Hi,
I asked this question on two gcc lists, without any result. Perhaps
this is a better place to ask?
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 g++ and binutils (specifically on Linux
or Solaris if that is relevant)? Is it necessary only to ensure
that a common shared library is mapped into memory at the same location
in each process? Or is it more complex than that?
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.