VirtualBox

Ignore:
Timestamp:
Aug 19, 2022 10:55:36 PM (2 years ago)
Author:
vboxsync
Message:

iprt/asmdefs.mac,IPRT/nocrt: Mangling fixes for fastcall compiler support procedures. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/compiler/vcc/stack-vcc.asm

    r95916 r96368  
    6868
    6969%ifdef RT_ARCH_X86
    70  %define FASTCALL_NAME(a_Name, a_cbArgs)        @ %+ a_Name %+ @ %+ a_cbArgs
     70 %define FASTCALL_NAME(a_Name, a_cbArgs)        $@ %+ a_Name %+ @ %+ a_cbArgs
    7171%else
    7272 %define FASTCALL_NAME(a_Name, a_cbArgs)        NAME(a_Name)
     
    164164;
    165165ALIGNCODE(64)
    166 BEGINPROC FASTCALL_NAME(_RTC_CheckStackVars, 8)
     166BEGINPROC_RAW  FASTCALL_NAME(_RTC_CheckStackVars, 8)
    167167        push    xBP
    168168
     
    246246        pop     xAX
    247247        jmp     .advance
    248 ENDPROC   FASTCALL_NAME(_RTC_CheckStackVars, 8)
     248ENDPROC_RAW     FASTCALL_NAME(_RTC_CheckStackVars, 8)
    249249
    250250
     
    259259;
    260260ALIGNCODE(64)
    261 BEGINPROC FASTCALL_NAME(_RTC_AllocaHelper, 12)
     261BEGINPROC_RAW  FASTCALL_NAME(_RTC_AllocaHelper, 12)
    262262        ;
    263263        ; Check that input isn't NULL or the size isn't zero.
     
    320320        ret     4
    321321%endif
    322 ENDPROC   FASTCALL_NAME(_RTC_AllocaHelper, 12)
     322ENDPROC_RAW     FASTCALL_NAME(_RTC_AllocaHelper, 12)
    323323
    324324
     
    327327;
    328328ALIGNCODE(16)
    329 BEGINPROC FASTCALL_NAME(__security_check_cookie, 4)
     329BEGINPROC_RAW  FASTCALL_NAME(__security_check_cookie, 4)
    330330        cmp     xCX, [NAME(__security_cookie) xWrtRIP]
    331331        jne     .corrupted
     
    345345        ret
    346346%endif
    347 ENDPROC   FASTCALL_NAME(__security_check_cookie, 4)
     347ENDPROC_RAW     FASTCALL_NAME(__security_check_cookie, 4)
    348348
    349349
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette