Changeset 21782 for branches/gcc-kmk/src


Ignore:
Timestamp:
Nov 2, 2011, 10:32:34 PM (14 years ago)
Author:
dmik
Message:

Use _malloc/_free instead of odin_malloc/odin_free in assembler.

These functions come from kLIBC now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/kernel32/seh/sehutil.s

    r21662 r21782  
    178178    subl $4, %esp
    179179    movl %eax, 0(%esp)
    180     call odin_malloc /* _Optlink, rtl, EAX/EDX/ECX-in, caller cleans stack */
     180    call _malloc /* __cdecl (and _Optlink compatible -> EAX/EDX/ECX-in) */
    181181    addl $4, %esp
    182182    testl %eax, %eax
     
    223223    subl $4, %esp
    224224    movl %eax, 0(%esp)
    225     call odin_free /* _Optlink, rtl, EAX/EDX/ECX-in, caller cleans stack */
     225    call _free /* __cdecl (and _Optlink compatible -> EAX/EDX/ECX-in) */
    226226    addl $4, %esp
    227227
Note: See TracChangeset for help on using the changeset viewer.