[fpc-devel] Improving Ref Counting
peter at freepascal.org
Mon Feb 28 13:26:36 CET 2005
>>> But it could be used on platforms that have a "fairly" stable and
>>> standardised C++ ABI (windows and Linux mainly). Other platforms can
>>> use the current FPC generic method as a fallback.
>> FPC could use that trick on (pretty much?) any platform. It doesn't have
>> to be compatible with the official C++ abi of that platform (just like
>> the current technique isn't either). It just isn't implemented yet.
> Yes thats right which is why I think its best to optimise its
> implementation in the various RTLs (the Linux RTL could use the C++ ABI
> or something else depending on which is faster etc).
Sorry, but it isn't so simple to just update the RTL. Also the compiler
needs to be adapted to write exception frames (.eh_frame) sections.
More information about the fpc-devel