summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-07-15 18:28:52 -0700
committerH. Peter Anvin <hpa@zytor.com>2010-07-15 18:30:18 -0700
commit31387b2d04e2421a884adac449c192bd97abaa0f (patch)
treea58fced5312c40539c9b1ec1c9bfec90c16448a9 /doc
parenta537d4964ecb3a96840cd6734647e144df41e603 (diff)
downloadnasm-31387b2d04e2421a884adac449c192bd97abaa0f.tar.gz
Make -Ox the defaultpreproc-paste-fix
Make -Ox the default; it's the optimization level expected by most users, and it is clearly still causing confusion that it has to be specified manually. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/changes.src3
-rw-r--r--doc/nasmdoc.src3
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/changes.src b/doc/changes.src
index e64aae74..9cd4b319 100644
--- a/doc/changes.src
+++ b/doc/changes.src
@@ -50,6 +50,9 @@ since 2007.
\b Tighten EA checks. We warn a user if there overflow in EA addressing.
+\b Make \c{-Ox} the default optimization level. For the legacy
+ behavior, specify \c{-O0} explicitly. See \k{opt-O}.
+
\S{cl-2.08} Version 2.08
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 722f0991..565b790b 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -866,7 +866,8 @@ levels of optimization. The syntax is:
releases, the letter \c{x} may also be any number greater than
one. This number has no effect on the actual number of passes.
-The \c{-Ox} mode is recommended for most uses.
+The \c{-Ox} mode is recommended for most uses, and is the default
+since NASM 2.09.
Note that this is a capital \c{O}, and is different from a small \c{o}, which
is used to specify the output file name. See \k{opt-o}.