From patchwork Sun Mar 16 11:43:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Huber X-Patchwork-Id: 330689 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 080B22C009A for ; Sun, 16 Mar 2014 22:43:29 +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:from :to:cc:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=vW3NzwDdfn/idh4x4SrtcmrWB9Hkg/x4PuUyrxiuTsJfYnAls1nRh Y2h2Y3YNjZFE3Bi0zoNKdpQnWeaptdBwn+E+g2i9ZB0EYts/+Vdr6V9Z5P3PKDCi u1lc9shhF97kX0cT46ZnGOpsl0XGS7knZ0zWT8P2k38SjqxCO9XFlw= 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:from :to:cc:subject:date:message-id:in-reply-to:references; s= default; bh=o+RZMJkrfvpKkd4LVIkvbP9NCOA=; b=W5VTDuRAcf8RnRc+ITsw 2x77F+YjWdDny/G3CVNcwbQRBfBYaZqD3ileyGQDo/QJ4nfh1hFfIHV2bJOemBkg 6dqUtuoG9c57OU5CJKmbP1VTwiW0ED5Fsh2BxazUuHpD0muOlNNjf26PfifJlUhu CpCIZAgDeqbt05H/mUI0TKM= Received: (qmail 1906 invoked by alias); 16 Mar 2014 11:43:23 -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 1895 invoked by uid 89); 16 Mar 2014 11:43:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL, BAYES_00, RDNS_DYNAMIC autolearn=no version=3.3.2 X-HELO: mail.embedded-brains.de Received: from host-82-135-62-35.customer.m-online.net (HELO mail.embedded-brains.de) (82.135.62.35) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 16 Mar 2014 11:43:21 +0000 Received: by mail.embedded-brains.de (Postfix, from userid 65534) id EB8E0652CFB; Sun, 16 Mar 2014 12:43:18 +0100 (CET) Received: from linux.local (38.vpnclient.eb.z [192.168.126.38]) by mail.embedded-brains.de (Postfix) with ESMTP id 2C9CD65219E; Sun, 16 Mar 2014 12:43:18 +0100 (CET) From: Sebastian Huber To: gcc-patches@gcc.gnu.org Cc: ebotcazou@adacore.com Subject: [PATCH v2] SPARC: Clarify -mapp-regs option Date: Sun, 16 Mar 2014 12:43:17 +0100 Message-Id: <1394970197-7640-1-git-send-email-sebastian.huber@embedded-brains.de> In-Reply-To: <2354943.U3v1Z4J8iY@polaris> References: <2354943.U3v1Z4J8iY@polaris> X-IsSubscribed: yes gcc/ChangeLog 2014-03-16 Sebastian Huber * doc/invoke.texi (mapp-regs): Clarify. --- gcc/doc/invoke.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 24bd76e..485867d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -20817,7 +20817,10 @@ These @samp{-m} options are supported on the SPARC: @opindex mapp-regs Specify @option{-mapp-regs} to generate output using the global registers 2 through 4, which the SPARC SVR4 ABI reserves for applications. This -is the default. +is the default. Like the global register 1 each global register 2 through 4 is +then treated as an allocable register that is clobbered by function calls. +They may be allocated for temporaries or variables that do not live across a +call. To be fully SVR4 ABI-compliant at the cost of some performance loss, specify @option{-mno-app-regs}. You should compile libraries and system