From patchwork Tue Jun 7 19:20:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 99322 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 19CA5B6FD2 for ; Wed, 8 Jun 2011 05:20:48 +1000 (EST) Received: (qmail 4934 invoked by alias); 7 Jun 2011 19:20:47 -0000 Received: (qmail 4925 invoked by uid 22791); 7 Jun 2011 19:20:47 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL, BAYES_00, NO_DNS_FOR_FROM, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga01.intel.com (HELO mga01.intel.com) (192.55.52.88) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Jun 2011 19:20:22 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 07 Jun 2011 12:20:22 -0700 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([10.3.194.135]) by fmsmga001.fm.intel.com with ESMTP; 07 Jun 2011 12:20:22 -0700 Received: by gnu-6.sc.intel.com (Postfix, from userid 500) id 00482C1DDE; Tue, 7 Jun 2011 12:20:22 -0700 (PDT) Date: Tue, 7 Jun 2011 12:20:22 -0700 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: [x32] PATCH: Use @option{} on -mx32, -m64 and -mx32 Message-ID: <20110607192022.GA9244@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, I checked this patch into x32 branch. H.J. --- commit e8fa82850eaa92e660e06d4a939a0cc313b5aa3e Author: H.J. Lu 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 + * doc/invoke.texi: Use @option{} on -mx32, -m64 and -mx32. + +2011-06-07 H.J. Lu + * doc/install.texi: Document --enable-ia32 and --enable-x32. 2011-06-06 H.J. Lu 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