>>> 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.




_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to