[K42-discussion] c++ -> c calling conventions and assembly
Patrick G. Bridges
bridges at cs.unm.edu
Wed Oct 4 10:57:31 EST 2006
> As far as I can tell, this makes it impossible to call the function
> from
> assembly. The only solution I see is to create a c wrapper for each of
> these functions -- a real c wrapper -- but that seems like it would
> add
> an undesirable amount of complexity. Ideas?
Could we just change the call from assembly to load an address from
the associated data section and do an indirect jump to it, if that's
the linkage that's required?
-Patrick
More information about the K42-discussion
mailing list