VirtualBox

Changeset 14021 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Nov 10, 2008 4:31:22 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39077
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.

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