From patchwork Fri Nov 15 14:23:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Weigand X-Patchwork-Id: 291580 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0322A2C00BA for ; Sat, 16 Nov 2013 01:26:01 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:to:date:from:cc:in-reply-to:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=JCH 7CyVp9VkqzM5b9NfoV5GF1R88Hk5SXV+4C4aw38z6nLZt+45n9Nrs5Vf5p2SNKzI NwsXF+XL0zXWli8DhI6bmbWxNKZZHPNm1O36hWo1oYiUsVhfyU7GwxGBUne3vFcz 0IEWOlAdTdFSbs/Zu+c5OOdfnUI4rAQhSJFjm3rc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:to:date:from:cc:in-reply-to:mime-version :content-type:content-transfer-encoding; s=default; bh=J3hVWlcTu CCPSC+VhekCKxaqipU=; b=wTA1thzhtL7Vkxdiv185aHVKsauwNHWra7tGtCRxH EzhVbu4hq/5t82XmZQMvmV+x12u9cN81OWDsaW2W57pxLSXar1mDhwTscY2OuF5r Mw5gfLXbBhJ5QRJMhq3Kkwv8vCl1OLmN1T8ztGTZaQ3YhYq7Bt/eYV6540Ost3M8 hY= Received: (qmail 21491 invoked by alias); 15 Nov 2013 14:25:52 -0000 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 Received: (qmail 21474 invoked by uid 89); 15 Nov 2013 14:25:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL, BAYES_50, MSGID_FROM_MTA_HEADER, RDNS_NONE, SPF_PASS autolearn=no version=3.3.2 X-HELO: e06smtp11.uk.ibm.com Received: from Unknown (HELO e06smtp11.uk.ibm.com) (195.75.94.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 15 Nov 2013 14:24:55 +0000 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 15 Nov 2013 14:24:46 -0000 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 15 Nov 2013 14:24:44 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7ADF617D8062 for ; Fri, 15 Nov 2013 14:24:25 +0000 (GMT) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps3075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id rAFENG4T590288 for ; Fri, 15 Nov 2013 14:23:16 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id rAFENR6D009077 for ; Fri, 15 Nov 2013 07:23:27 -0700 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with SMTP id rAFENPOC008997; Fri, 15 Nov 2013 07:23:25 -0700 Message-Id: <201311151423.rAFENPOC008997@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 15 Nov 2013 15:23:25 +0100 Subject: Re: [PATCH] Document -mabi=elfv[12] (Re: [PATCH, rs6000] ELFv2 ABI 1/8: Add options and infrastructure) To: dje.gcc@gmail.com (David Edelsohn) Date: Fri, 15 Nov 2013 15:23:25 +0100 (CET) From: "Ulrich Weigand" Cc: joseph@codesourcery.com (Joseph S. Myers), gcc-patches@gcc.gnu.org (GCC Patches) In-Reply-To: from "David Edelsohn" at Nov 14, 2013 05:49:18 PM MIME-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13111514-5024-0000-0000-000007D6111F David Edelsohn wrote: > On Thu, Nov 14, 2013 at 5:07 PM, Ulrich Weigand wrote: > > > Here's a patch to add documentation along the lines of what we have > > for the longdouble switches. > > > > Doc build tested on powerpc64-linux. > > > > David, would that be OK for mainline, or do have other suggestions? > > I don't think that the wording is correct because -mabi=elfv1 and > -mabi=elfv2 are "options" for either endian. I've checked in the following patch using your wording. Thanks, Ulrich ChangeLog: * doc/invoke.texi (-mabi=elfv1, -mabi=elfv2): Document. Index: gcc/gcc/doc/invoke.texi =================================================================== --- gcc.orig/gcc/doc/invoke.texi +++ gcc/gcc/doc/invoke.texi @@ -18846,7 +18846,8 @@ SVR4 ABI)@. @opindex mabi Extend the current ABI with a particular extension, or remove such extension. Valid values are @var{altivec}, @var{no-altivec}, @var{spe}, -@var{no-spe}, @var{ibmlongdouble}, @var{ieeelongdouble}@. +@var{no-spe}, @var{ibmlongdouble}, @var{ieeelongdouble}, +@var{elfv1}, @var{elfv2}@. @item -mabi=spe @opindex mabi=spe @@ -18868,6 +18869,20 @@ This is a PowerPC 32-bit SYSV ABI option Change the current ABI to use IEEE extended-precision long double. This is a PowerPC 32-bit Linux ABI option. +@item -mabi=elfv1 +@opindex mabi=elfv1 +Change the current ABI to use the ELFv1 ABI. +This is the default ABI for big-endian PowerPC 64-bit Linux. +Overriding the default ABI requires special system support and is +likely to fail in spectacular ways. + +@item -mabi=elfv2 +@opindex mabi=elfv2 +Change the current ABI to use the ELFv2 ABI. +This is the default ABI for little-endian PowerPC 64-bit Linux. +Overriding the default ABI requires special system support and is +likely to fail in spectacular ways. + @item -mprototype @itemx -mno-prototype @opindex mprototype