Patchwork [x32] PATCH: Use @option{} on -mx32, -m64 and -mx32

login
register
mail settings
Submitter H.J. Lu
Date June 7, 2011, 7:20 p.m.
Message ID <20110607192022.GA9244@intel.com>
Download mbox | patch
Permalink /patch/99322/
State New
Headers show

Comments

H.J. Lu - June 7, 2011, 7:20 p.m.
Hi,

I checked this patch into x32 branch.

H.J.
---
commit e8fa82850eaa92e660e06d4a939a0cc313b5aa3e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jun 7 11:44:34 2011 -0700

    Use @option{} on -mx32, -m64 and -mx32.

Patch

diff --git a/gcc/ChangeLog.x32 b/gcc/ChangeLog.x32
index 3ce5fa1..5655c61 100644
--- a/gcc/ChangeLog.x32
+++ b/gcc/ChangeLog.x32
@@ -1,5 +1,9 @@ 
 2011-06-07  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* doc/invoke.texi: Use @option{} on -mx32, -m64 and -mx32.
+
+2011-06-07  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* doc/install.texi: Document --enable-ia32 and --enable-x32.
 
 2011-06-06  H.J. Lu  <hongjiu.lu@intel.com>
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 12080ca..b4ccfe9 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -12829,14 +12829,14 @@  on AMD x86-64 processors in 64-bit environments.
 @opindex m64
 @opindex mx32
 Generate code for a 32-bit or 64-bit environment.
-The -m32 option sets int, long and pointer to 32 bits and
+The @option{-m32} option sets int, long and pointer to 32 bits and
 generates code that runs on any i386 system.
-The -m64 option sets int to 32 bits and long and pointer
+The @option{-m64} option sets int to 32 bits and long and pointer
 to 64 bits and generates code for AMD's x86-64 architecture.
-The -mx32 option sets int, long and pointer to 32 bits and generates
-code for AMD's x86-64 architecture.
-For darwin only the -m64 option turns off the @option{-fno-pic} and
-@option{-mdynamic-no-pic} options.
+The @option{-mx32} option sets int, long and pointer to 32 bits and
+generates code for AMD's x86-64 architecture.
+For darwin only the @option{-m64} option turns off the @option{-fno-pic}
+and @option{-mdynamic-no-pic} options.
 
 @item -mno-red-zone
 @opindex mno-red-zone