@@ -515,6 +515,9 @@ the \i\c{[WARNING]} directive. See \k{asmdir-warning}.
515515
516516See \k{warnings} for the complete list of warning classes.
517517
518+ \IR{-v} \c{-v} option
519+ \IR{--v} \c{--v} option
520+
518521\S{opt-v} The \i\c{-v} Option: Display \i{Version} Info
519522
520523Typing \c{NASM -v} will display the version of NASM which you are using,
@@ -526,13 +529,22 @@ For command-line compatibility with Yasm, the form \i\c{--v} is also
526529accepted for this option starting in NASM version 2.11.05.
527530
528531
529- \S{opt-pfix} The \i\c{--(g|l)prefix}, \i\c{--(g|l)postfix} Options.
532+ \IR{--prefix} \c{--prefix} option
533+ \IC{--prefix}{--gprefix} \c{--gprefix} option
534+ \IC{--prefix}{--lprefix} \c{--lprefix} option
535+ \IC{--prefix}{--gpostfix} \c{--gpostfix} option
536+ \IC{--prefix}{--lpostfix} \c{--lpostfix} option
537+ \IC{--prefix}{--suffix} \c{--suffix} option
538+ \IC{--prefix}{--gsuffix} \c{--gsuffix} option
539+ \IC{--prefix}{--lsuffix} \c{--lsuffix} option
540+
541+ \S{opt-pfix} The \I{--prefix}\c{--[gl]prefix} and \c{--[gl]postfix} Options
530542
531543The \c{--gprefix} option prepends the given argument
532544to all \c{extern}, \c{common}, \c{static}, and \c{global} symbols, and the
533545\c{--lprefix} option prepends to all other symbols. Similarly,
534546\c{--gpostfix} and \c{--lpostfix} options append
535- the argument, in a manner similar to the \c{--(g|l) prefix} options.
547+ the argument, in a manner similar to the \c{--[gl] prefix} options.
536548
537549Running this:
538550
@@ -543,6 +555,15 @@ at the start of the file (\k{mangling}). It will prepend the underscore
543555to all global and external variables, as C requires it in some, but not all,
544556system calling conventions.
545557
558+ \c{--prefix} is an alias for \c{--gprefix}.
559+
560+ Starting with NASM 3.01, \c{--suffix}, \c{--gsuffix}, and
561+ \c{--lsuffix} are accepted as aliases for the corresponding
562+ \c{postfix} options.
563+
564+
565+ \IR{--pragma} \c{--pragma} option
566+
546567\S{opt-pragma} The \i\c{--pragma} Option
547568
548569NASM accepts an argument as \c{%pragma} option, which is like placing
@@ -554,6 +575,8 @@ Running this:
554575is equivalent to the example in \k{opt-pfix}. See \k{pragma}.
555576
556577
578+ \IR{--before} \c{--before} option
579+
557580\S{opt-before} The \i\c{--before} Option
558581
559582Insert a statement (usually, but not necessarily) a preprocess
@@ -563,6 +586,8 @@ is the same as running this:
563586\c nasm -f macho --before "%pragma macho gprefix _"
564587
565588
589+ \IR{--bits} \c{--bits} option
590+
566591\S{opt-bits} The \i\c{--bits} Option
567592
568593Set the processor mode by inserting a \c{BITS} directive (kee
@@ -575,10 +600,11 @@ exactly equivalent:
575600The \c{--bits} option was introduced in NASM 3.01; the \c{--before}
576601form can be used for compatibility with older versions of NASM.
577602
603+ \IR{--limit-} \c{--limit-} options
578604
579- \S{opt-limit} The \i\c{--limit-X} Option
605+ \S{opt-limit} The \i\c{--limit-} Options
580606
581- This option allows user to setup various maximum values after which
607+ These options allows user to setup various maximum values after which
582608NASM will terminate with a fatal error rather than consume arbitrary
583609amount of compute time. Each limit can be set to a positive number or
584610\c{unlimited}.
@@ -616,18 +642,23 @@ example:
616642
617643\c %pragma limit lines 1000
618644
645+ \IR{--keep-all} \c{--keep-all} option
619646
620647\S{opt-keep-all} The \i\c{--keep-all} Option
621648
622649This option prevents NASM from deleting any output files even if an
623650error happens.
624651
652+ \IR{--no-line} \c{--no-line} option
653+
625654\S{opt-no-line} The \i\c{--no-line} Option
626655
627656If this option is given, all \i\c{%line} directives in the source code
628657are ignored. This can be useful for debugging already preprocessed
629658code. See \k{line}.
630659
660+ \IR{--reproducible} \c{--reproducible} option
661+
631662\S{opt-reproducible} The \i\c{--reproducible} Option
632663
633664If this option is given, NASM will not emit information that is
0 commit comments