From patchwork Tue May 21 16:08:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 245338 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id AA86E2C00A4 for ; Wed, 22 May 2013 02:09:47 +1000 (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:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=RuKX4xGuU6fNFLrO 7CwZ2CVfXKWHierdmcHUDLq+n/J28KQAahVhvWBRziE91SCA4N8Ev7V9dn03tNNS PcSiVMGsapdsX5oPofpN3EXHbyxr+7p41Jnh56WGaE21av82AurSbRrEvC6yHSmR CV93CMn9e3UA4TiWOwn6DoAgF4Q= 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:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=H5PDgqnfN8b04qX+OwaLPd x/KJQ=; b=QsCDOXxXVpz8DH1I09Q/CB50GWe7yANLqStFWs7zyEtikih5lt247L FrQ7ppWf7biZ4iyLJbWksfuvTLF54l6jHdBbZdugpt0BujAk87aVrIc30Z+z8FZg fKmSABUOMfnid2khfwj+hgVCBLyIx00vOC/YVwmdiOvQ4DHs7/3Sk= Received: (qmail 9947 invoked by alias); 21 May 2013 16:09:35 -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 9934 invoked by uid 89); 21 May 2013 16:09:35 -0000 X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, TW_FG, TW_SF autolearn=no version=3.3.1 Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 21 May 2013 16:09:34 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 5551C2646A63 for ; Tue, 21 May 2013 18:08:15 +0200 (CEST) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LGAnnN0Vb_L6 for ; Tue, 21 May 2013 18:08:15 +0200 (CEST) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 3403E2646A61 for ; Tue, 21 May 2013 18:08:15 +0200 (CEST) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: [rs6000] Add register save/restore routines for cross Date: Tue, 21 May 2013 18:08:44 +0200 Message-ID: <1404007.STLiWzffBm@polaris> User-Agent: KMail/4.7.2 (Linux/3.1.10-1.19-desktop; KDE/4.7.2; x86_64; ; ) MIME-Version: 1.0 X-Virus-Found: No Hi, this adds the register save/restore routines to libgcc for a couple of cross platforms that we use (powerpc-elf and powerpc-wrs-vxworks). OK for mainline? 2013-05-20 Eric Botcazou libgcc/ * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file. (powerpc-wrs-vxworks): Likewise. Index: config.host =================================================================== --- config.host (revision 199091) +++ config.host (working copy) @@ -863,7 +863,7 @@ powerpc-*-eabisim*) extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" ;; powerpc-*-elf*) - tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" + tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" ;; powerpc-*-eabialtivec*) @@ -888,7 +888,7 @@ powerpc*-*-linux*) md_unwind_header=rs6000/linux-unwind.h ;; powerpc-wrs-vxworks|powerpc-wrs-vxworksae) - tmake_file="$tmake_file rs6000/t-ppccomm t-fdpbit" + tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr t-fdpbit" ;; powerpc-*-lynxos*) tmake_file="$tmake_file rs6000/t-lynx t-fdpbit"