X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=misc%2Ftest_vm%2Fsrc%2Fgeekos%2Fsymbol.asm;fp=misc%2Ftest_vm%2Fsrc%2Fgeekos%2Fsymbol.asm;h=0000000000000000000000000000000000000000;hp=0bb1584d5086ef23bedcb37d40070f22502edd5f;hb=a70930549d1b741704dd7af4e6bb0e89f6f8a519;hpb=afb634a80f946634454a5d067a92aa600227bd93 diff --git a/misc/test_vm/src/geekos/symbol.asm b/misc/test_vm/src/geekos/symbol.asm deleted file mode 100644 index 0bb1584..0000000 --- a/misc/test_vm/src/geekos/symbol.asm +++ /dev/null @@ -1,43 +0,0 @@ -; Symbol mangling macros -; Copyright (c) 2001, David H. Hovemeyer -; $Revision: 1.1 $ - -; This file defines macros for dealing with externally-visible -; symbols that must be mangled for some object file formats. -; For example, PECOFF requires a leading underscore, while -; ELF does not. - -; EXPORT defines a symbol as global -; IMPORT references a symbol defined in another module - -; Thanks to Christopher Giese for providing the NASM macros -; (thus saving me hours of frustration). - -%ifndef SYMBOL_ASM -%define SYMBOL_ASM - -%ifdef NEED_UNDERSCORE - -%macro EXPORT 1 -[GLOBAL _%1] -%define %1 _%1 -%endmacro - -%macro IMPORT 1 -[EXTERN _%1] -%define %1 _%1 -%endmacro - -%else - -%macro EXPORT 1 -[GLOBAL %1] -%endmacro - -%macro IMPORT 1 -[EXTERN %1] -%endmacro - -%endif - -%endif