Hi, I checked this patch into x32 branch.
H.J. --- commit e8fa82850eaa92e660e06d4a939a0cc313b5aa3e Author: H.J. Lu <hjl.to...@gmail.com> Date: Tue Jun 7 11:44:34 2011 -0700 Use @option{} on -mx32, -m64 and -mx32. 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...@intel.com> + * doc/invoke.texi: Use @option{} on -mx32, -m64 and -mx32. + +2011-06-07 H.J. Lu <hongjiu...@intel.com> + * doc/install.texi: Document --enable-ia32 and --enable-x32. 2011-06-06 H.J. Lu <hongjiu...@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