bryner%netscape.com 6348ad392d Reorganize the Darwin xptcall code so that it works correctly with prebinding:
- Move all functions into the text section.
 - Use m4 to generate the StubNNN() functions in the .s file, so that we don't have to use an indirect call to SharedStub (which would clobber r12, where we pass the method index).
 - Use indirect calls for calling invoke_count_words and invoke_copy_to_stack from inside XPTC_InvokeByIndex.

Bug 151978, r=pavlov, sr=beard.


git-svn-id: svn://10.0.0.236/trunk@123843 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-22 00:09:55 +00:00
..