VirtualBox

Changeset 100275 in vbox for trunk/include


Ignore:
Timestamp:
Jun 23, 2023 10:54:34 PM (18 months ago)
Author:
vboxsync
Message:

VBoxDef2LazyLoad,iprt/asmdefs-arm.h: Added a NAME() macro to asdefs-arm.h and got rid of the RTLDRFMT stuff added in r157968. bugref:10457

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asmdefs-arm.h

    r100257 r100275  
    128128
    129129/**
     130 * Mangles the name so it can be referenced using DECLASM() in the C/C++ world.
     131 *
     132 * @returns a_SymbolC with the necessary prefix/postfix.
     133 * @param   a_SymbolC   A C symbol name to mangle as needed.
     134 */
     135#if defined(RT_OS_DARWIN)
     136# define NAME(a_SymbolC)    _ ## a_SymbolC
     137#else
     138# define NAME(a_SymbolC)    a_SymbolC
     139#endif
     140
     141/**
    130142 * Returns the page address of the given symbol (used with the adrp instruction primarily).
    131143 *
     
    157169
    158170/** @} */
     171
    159172#endif /* !IPRT_INCLUDED_asmdefs_arm_h */
    160173
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