Copyright (C) 2000-2012 |
GNU Info (nasm.info)Section 6.9.26.9.2. Specifying a Module Name: The `MODULE' Directive ------------------------------------------------------- Special `RDOFF' header record is used to store the name of the module. It can be used, for example, by run-time loader to perform dynamic linking. `MODULE' directive takes one argument which is the name of current module: module mymodname Note that when you statically link modules and tell linker to strip the symbols from output file, all module names will be stripped too. To avoid it, you should start module names with `$', like: module $kernel.core automatically generated by info2www version 1.2.2.9 |