From patchwork Thu Nov 14 22:07:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Weigand X-Patchwork-Id: 291389 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 887412C007E for ; Fri, 15 Nov 2013 09:09:24 +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=VTv obQZfSd48W7e7bKrOmIxS51UK2KrCOCE1VRsjWI44MdVKqIH5GZ3dI7IletQs36t HbesY7ZWSMek1Q7hc1Nm/bixXLDuDnqjDyy5k6SiCK6suuiY6lkbO8OOK1TDyU/0 ATw0Tfc8AbO10j5pgr9GNk705RGDiLt/A1qytXQA= 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=nQwLetsA6 +Q1ZMnqRiCGFyv90p4=; b=Tdhu0YPP7RtfjXdXHCZ7LmD9lb5dZWgLM1Wz+9Din r1UEcftPixQ8Yh0ydw+ctscFPJNrD9WndtcG6WJPSQ1WDQqUGGLOO/LbTsK1k2LF SQqMiqT4K1SmU2f9zAbihsNWOgba7FIgXEmU4ylwJfG4v9deSztTRlHD2rg4oL2H fE= Received: (qmail 17148 invoked by alias); 14 Nov 2013 22:09:15 -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 17136 invoked by uid 89); 14 Nov 2013 22:09:15 -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; Thu, 14 Nov 2013 22:09:12 +0000 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 14 Nov 2013 22:09:03 -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; Thu, 14 Nov 2013 22:09:00 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 86B8317D8057 for ; Thu, 14 Nov 2013 22:08:41 +0000 (GMT) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id rAEM7WDj66388080 for ; Thu, 14 Nov 2013 22:07:32 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 rAEM7isA021082 for ; Thu, 14 Nov 2013 15:07:44 -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 rAEM7hm1021079; Thu, 14 Nov 2013 15:07:43 -0700 Message-Id: <201311142207.rAEM7hm1021079@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Thu, 14 Nov 2013 23:07:43 +0100 Subject: [PATCH] Document -mabi=elfv[12] (Re: [PATCH, rs6000] ELFv2 ABI 1/8: Add options and infrastructure) To: joseph@codesourcery.com (Joseph S. Myers), dje.gcc@gmail.com Date: Thu, 14 Nov 2013 23:07:43 +0100 (CET) From: "Ulrich Weigand" Cc: gcc-patches@gcc.gnu.org In-Reply-To: from "Joseph S. Myers" at Nov 12, 2013 10:33:46 PM MIME-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13111422-5024-0000-0000-000007D32647 Joseph Myers wrote: > On Tue, 12 Nov 2013, Ulrich Weigand wrote: > > > > Therefore, it is introduces via a new pair of options > > > > -mabi=elfv1 / -mabi=elfv2 > > > > where -mabi=elfv1 select the current Linux ABI, and -mabi=elfv2 > > > > selects the new one. > > > > > > New command-line options need invoke.texi documentation. > > > > As mentioned above, it's probably best to mark it undocumented. > > No, even always-warning options like -mabi=ibmlongdouble are documented. Ah, indeed; thanks for pointing that out. Well, that's certainly fine with me too. 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? Bye, 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,16 @@ 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 a little-endian PowerPC 64-bit Linux ABI option. + +@item -mabi=elfv2 +@opindex mabi=elfv2 +Change the current ABI to use the ELFv2 ABI. +This is a big-endian PowerPC 64-bit Linux ABI option. + @item -mprototype @itemx -mno-prototype @opindex mprototype