rpcrt4: Add appropriate stdcall decorations to assembly functions.
This commit is contained in:
parent
eb08df3a90
commit
f2d65b5563
@ -76,7 +76,7 @@ struct thunk {
|
|||||||
extern void call_stubless_func(void);
|
extern void call_stubless_func(void);
|
||||||
__ASM_GLOBAL_FUNC(call_stubless_func,
|
__ASM_GLOBAL_FUNC(call_stubless_func,
|
||||||
"pushl %esp\n\t" /* pointer to index */
|
"pushl %esp\n\t" /* pointer to index */
|
||||||
"call " __ASM_NAME("ObjectStubless") "\n\t"
|
"call " __ASM_NAME("ObjectStubless") __ASM_STDCALL(4) "\n\t"
|
||||||
"popl %edx\n\t" /* args size */
|
"popl %edx\n\t" /* args size */
|
||||||
"movl (%esp),%ecx\n\t" /* return address */
|
"movl (%esp),%ecx\n\t" /* return address */
|
||||||
"addl %edx,%esp\n\t"
|
"addl %edx,%esp\n\t"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user