Hello again,

First thanks to grischka for previous quick fix.
Now I have another small issue; using "stdcall" always generate some name
mangling for function names, in libtcc.c line ~499.
It ignores the "leading_underscore" option, which is otherwise respected a
few lines below (512).
The effect is, a stdcall function can not be found via tcc_get_symbol (as
written before, I'm calling functions directly) without knowing the
mangling scheme.

Is there any reason for this name mangling? Because fastcall/regparm
doesn't produce any mangling, although they might also use stack just like
stdcall.
As I'm using it from Pascal(Delphi), regparm(3) is actually better, but it
still seems inconsistent.

Regards,
Gabriel
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to