From patchwork Wed Jun 11 10:19:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Baylis X-Patchwork-Id: 31758 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 43B8A2054B for ; Wed, 11 Jun 2014 10:21:57 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id sa20sf40310602veb.9 for ; Wed, 11 Jun 2014 03:21:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:mailing-list :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:sender:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:x-original-sender :x-original-authentication-results; bh=qXEjhk4CYgRIYxLuIs8HmQn6msbXgLZK4F4rMOfrGOw=; b=iYOg0TMUQjnaFctpQ0QWpnwObn09M5qoHmoAxru0YhGMCe2b+6vUsQFjOOrG7IQFWt lYIT2rU5O4/WdcAuQjY4bRSfVDpWDZTRMs3ep3NNjwtwUC8M4fqolC1E7L2qRjWt+LEm 5DzY4kxgE7QH0X6Q4OIFUvMi68ZaJ8nKAsH7xs0PD3S/E9XNsKNVLrZRaEyHGV8dFR3X jt48/QO2bgMISfoG9CfEGEipon/i/kK6dkRQ3EE6/7H4X3Ch5Bz5aey0vnURReZNwRbF +SM7Tf/qSWH+WQR0ACFDRY32P+AIyNHWHffBZRsepmxip0Q/yGf8DTHV9GvaL5BGthTD hMiQ== X-Gm-Message-State: ALoCoQm3onnKtOq0FBwi/buOP4ZVLF46I4k4F7+KmZffFwKoS2oCuZy9qOEjOBeIuIBE7sfvhTpk X-Received: by 10.236.14.99 with SMTP id c63mr11135716yhc.40.1402482117071; Wed, 11 Jun 2014 03:21:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.84.72 with SMTP id k66ls2457160qgd.96.gmail; Wed, 11 Jun 2014 03:21:56 -0700 (PDT) X-Received: by 10.58.196.231 with SMTP id ip7mr899675vec.47.1402482116936; Wed, 11 Jun 2014 03:21:56 -0700 (PDT) Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [2607:f8b0:400c:c01::236]) by mx.google.com with ESMTPS id r6si14061623vdc.10.2014.06.11.03.21.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Jun 2014 03:21:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::236 as permitted sender) client-ip=2607:f8b0:400c:c01::236; Received: by mail-ve0-f182.google.com with SMTP id sa20so10519279veb.13 for ; Wed, 11 Jun 2014 03:21:56 -0700 (PDT) X-Received: by 10.221.37.1 with SMTP id tc1mr2089416vcb.32.1402482116844; Wed, 11 Jun 2014 03:21:56 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp290975vcb; Wed, 11 Jun 2014 03:21:56 -0700 (PDT) X-Received: by 10.68.178.131 with SMTP id cy3mr4016123pbc.146.1402482115978; Wed, 11 Jun 2014 03:21:55 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id nt2si37484888pbb.171.2014.06.11.03.21.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jun 2014 03:21:55 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-369991-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 29492 invoked by alias); 11 Jun 2014 10:20:39 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 29374 invoked by uid 89); 11 Jun 2014 10:20:38 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-we0-f173.google.com Received: from mail-we0-f173.google.com (HELO mail-we0-f173.google.com) (74.125.82.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 11 Jun 2014 10:20:37 +0000 Received: by mail-we0-f173.google.com with SMTP id t60so2052754wes.32 for ; Wed, 11 Jun 2014 03:20:34 -0700 (PDT) X-Received: by 10.180.13.239 with SMTP id k15mr46461920wic.4.1402482034550; Wed, 11 Jun 2014 03:20:34 -0700 (PDT) Received: from sale.linaro.local ([213.122.173.130]) by mx.google.com with ESMTPSA id ej2sm33548768wjd.21.2014.06.11.03.20.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jun 2014 03:20:34 -0700 (PDT) From: Charles Baylis To: rearnsha@arm.com Cc: gcc-patches@gcc.gnu.org, Ramana.Radhakrishnan@arm.com Subject: [PATCH 9/9] Remove __gnu_uldivmod_helper Date: Wed, 11 Jun 2014 11:19:55 +0100 Message-Id: <1402481995-12749-9-git-send-email-charles.baylis@linaro.org> In-Reply-To: <1402481995-12749-1-git-send-email-charles.baylis@linaro.org> References: <5398226C.5060905@arm.com> <1402481995-12749-1-git-send-email-charles.baylis@linaro.org> X-IsSubscribed: yes X-Original-Sender: charles.baylis@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::236 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 2014-05-22 Charles Baylis * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove. --- libgcc/config/arm/bpabi.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libgcc/config/arm/bpabi.c b/libgcc/config/arm/bpabi.c index 7b155cc..e90d044 100644 --- a/libgcc/config/arm/bpabi.c +++ b/libgcc/config/arm/bpabi.c @@ -26,9 +26,6 @@ extern long long __divdi3 (long long, long long); extern unsigned long long __udivdi3 (unsigned long long, unsigned long long); extern long long __gnu_ldivmod_helper (long long, long long, long long *); -extern unsigned long long __gnu_uldivmod_helper (unsigned long long, - unsigned long long, - unsigned long long *); long long @@ -43,14 +40,3 @@ __gnu_ldivmod_helper (long long a, return quotient; } -unsigned long long -__gnu_uldivmod_helper (unsigned long long a, - unsigned long long b, - unsigned long long *remainder) -{ - unsigned long long quotient; - - quotient = __udivdi3 (a, b); - *remainder = a - b * quotient; - return quotient; -}