1 ; Symbol mangling macros
2 ; Copyright (c) 2001, David H. Hovemeyer <daveho@cs.umd.edu>
3 ; (c) 2008, Jack Lange <jarusl@cs.northwestern.edu>
4 ; (c) 2008, The V3VEE Project <http://www.v3vee.org>
7 ; This file defines macros for dealing with externally-visible
8 ; symbols that must be mangled for some object file formats.
9 ; For example, PECOFF requires a leading underscore, while
12 ; EXPORT defines a symbol as global
13 ; IMPORT references a symbol defined in another module
15 ; Thanks to Christopher Giese for providing the NASM macros
16 ; (thus saving me hours of frustration).
18 %ifndef __VMM_SYMBOL_ASM
19 %define __VMM_SYMBOL_ASM
21 %ifdef NEED_UNDERSCORE