VirtualBox
Show
Ignore:
Timestamp:
11/10/08 17:31:22 (2 months ago)
Author:
vboxsync
Message:

The VMMR0 template now uses the IPRT No-CRT stuff, as does RuntimeR0. Added nocrt strcpy and fixed completely busted aliases.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/iprt/asmdefs.mac

    r13832 r14021  
    603603%endif 
    604604 
     605;; @def RT_NOCRT_BEGINPROC 
     606; Starts a NOCRT procedure, taking care of name wrapping and aliasing. 
     607; 
     608; Aliasing (weak ones, if supported) will be created when RT_WITH_NOCRT_ALIASES 
     609; is defined and RT_WITHOUT_NOCRT_WRAPPERS isn't. 
     610; 
     611%macro RT_NOCRT_BEGINPROC 1 
     612%ifdef RT_WITH_NOCRT_ALIASES 
     613BEGINPROC RT_NOCRT(%1) 
     614%ifdef ASM_FORMAT_ELF 
     615global NAME(%1) 
     616weak NAME(%1) 
     617NAME(%1): 
     618%else 
     619GLOBALNAME %1 
     620%endif 
     621%else  ; !RT_WITH_NOCRT_ALIASES 
     622BEGINPROC RT_NOCRT(%1) 
     623%endif ; !RT_WITH_NOCRT_ALIASES 
     624%endmacro ; RT_NOCRT_BEGINPROC 
     625 
     626%ifdef RT_WITH_NOCRT_ALIASES 
     627 %ifdef RT_WITHOUT_NOCRT_WRAPPERS 
     628  %error "RT_WITH_NOCRT_ALIASES and RT_WITHOUT_NOCRT_WRAPPERS doesn't mix." 
     629 %endif 
     630%endif 
     631 
    605632 
    606633 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy