Mercurial > pub > dyncall > dyncall
changeset 540:951cbfb5020a
- fixed wrong symbol naming on some platforms
author | Tassilo Philipp |
---|---|
date | Sun, 24 Apr 2022 13:59:26 +0200 |
parents | 0c3f5355769d |
children | 3c715848d7fd |
files | dyncallback/dyncall_callback_x64.S |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dyncallback/dyncall_callback_x64.S Sun Apr 24 13:48:59 2022 +0200 +++ b/dyncallback/dyncall_callback_x64.S Sun Apr 24 13:59:26 2022 +0200 @@ -111,7 +111,7 @@ CMPL(LIT(-2/*see C*/), DWORD(RSP, 48)) /* rsp+48 = where r8 (aggr_return_register) was pushed */ /* if retval is small aggregate via regs */ - JE(scalar_retval) + JE(CSYM(scalar_retval)) MOV(QWORD(RSP,0),RAX) MOV(QWORD(RSP,8),RDX) @@ -119,7 +119,7 @@ MOVSD(QWORD(RSP,24),XMM1) /* @@@AGGR needed to be put in xmm in this case? @@@ also not what doc/appendix says, actually */ /* else (retval is int, float, or ptr to aggregate) */ - JMP(epilog) + JMP(CSYM(epilog)) CSYM(scalar_retval): /* pass return type via registers, handle ints and floats */