[cxx-abi-dev] Deleted virtual functions
Mark Mitchell
mark at codesourcery.com
Mon Jun 1 16:08:26 UTC 2009
Sean Perry wrote:
> On zSeries (i.e. 390) the linkage for C and C++ are different.
> Identifying all the places and providing solutions to the mixed linkage
> problems in the document is a prereq to implementing the C++ABI in
> zSeries compilers.
If you are going to change the ABI anyhow, would you reconsider this
difference in linkage? The ABI document defines various C++ things in
terms of their C equivalents; for example, the ABI for a C++ non-static
function member is defined in terms of the ABI for a C function with an
extra parameter for "this".
In any case, if maintaining separate calling conventions for C and C++
is necessary, yes, I think you'll have to go through the document,
identify those places, and propose solutions. The solutions need to
preserve backwards compatibility, so you may need to introduce some new
APIs that are used only on systems where the linkages do not match up.
--
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713
More information about the cxx-abi-dev
mailing list