From 376b8106d21e0a748bc6f393a3d0d2ffabf471e1 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 9 Apr 2010 13:57:14 +0400 Subject: [PATCH] nasmdoc.src: Refer to ..imagebase in special symbols area Signed-off-by: Cyrill Gorcunov --- doc/nasmdoc.src | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src index 75001c6..d8c189b 100644 --- a/doc/nasmdoc.src +++ b/doc/nasmdoc.src @@ -14,7 +14,7 @@ \# copyright notice, this list of conditions and the following \# disclaimer in the documentation and/or other materials provided \# with the distribution. -\# +\# \# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND \# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, \# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF @@ -1952,7 +1952,11 @@ to the local label mechanism. So you could code NASM has the capacity to define other special symbols beginning with a double period: for example, \c{..start} is used to specify the -entry point in the \c{obj} output format (see \k{dotdotstart}). +entry point in the \c{obj} output format (see \k{dotdotstart}), +\c{..imagebase} is used to find out the offset from a base address +of the current image in the \c{win64} output format (see \k{win64pic}). +So just keep in mind that symbols beginning with a double period are +special. \C{preproc} The NASM \i{Preprocessor} -- 2.7.4