Changeset 46855 in vbox for trunk/include/iprt
- Timestamp:
- Jun 28, 2013 3:02:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asmdefs.mac
r46558 r46855 113 113 ; Mangles the given C name so it will _import_ the right symbol. 114 114 %ifdef ASM_FORMAT_PE 115 %define IMPNAME(name)__imp_ %+ NAME(name)116 %else 117 %define IMPNAME(name)NAME(name)115 %define IMPNAME(name) __imp_ %+ NAME(name) 116 %else 117 %define IMPNAME(name) NAME(name) 118 118 %endif 119 119 … … 129 129 %define IMP(name) IMPNAME(name) 130 130 %endif 131 132 ;; 133 ; Declares an imported object for use with IMP2. 134 ; @note May change the current section! 135 %macro EXTERN_IMP2 1 136 extern IMPNAME(%1) 137 BEGINDATA 138 %ifdef ASM_FORMAT_MACHO 139 g_Imp2_ %+ %1: RTCCPTR_DEF IMPNAME(%1) 140 %endif 141 %endmacro 131 142 132 143 ;; … … 147 158 %endif 148 159 %elifdef ASM_FORMAT_MACHO 149 %ifdef RT_ARCH_AMD64 150 %define IMP2(name) qword [IMPNAME(name) wrt rip] 151 %else 152 %define IMP2(name) IMPNAME(name) 153 %endif 160 %define IMP2(name) RTCCPTR_PRE [g_Imp2_ %+ name xWrtRIP] 154 161 %endif 155 162 %ifndef IMP2
Note:
See TracChangeset
for help on using the changeset viewer.