On 07/02/15 11:58, Florian Klämpfl wrote: > Just an idea: What about serializing TCGPara/TCGParalocation?
The main issue I see with that is that this format changes from time to time. I'll probably have to change it again to fully support the ppc64le ABI. To me, the optimal solution would be to simply use libffi (you would only need logic to translate the rtti for the parameter types to libffi format, and it would automagically work for all platforms), but since that's an external dependency I guess that's not acceptable. I'm however definitely not looking forward to reimplementing parameter passing/loading and calling routines for all platforms again inside the rtl. Jonas _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
