From patchwork Sun May 1 03:43:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshinori Sato X-Patchwork-Id: 617138 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 3qyCwl3zYHz9sp7 for ; Sun, 1 May 2016 13:44:23 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=X0hyhvW9; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :message-id:from:to:subject:mime-version:content-type; q=dns; s= default; b=VTt2hKJtyN3jlM8VzsJhqNaHcs1tyQCUVD0boJ9Qy2UnK4RN6pKIq 9u794L1IGcsTrctytNuTQTdWrlpYs5s58gdNeikuhLeDQY260BMBIA3uokaCx6p3 C5gvmLtcHLSnDCuQBA5gd2c7lpx6VA/KiXR/7rRlPJlkG8jxa59Er4= 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:date :message-id:from:to:subject:mime-version:content-type; s= default; bh=cEdpvIrsr81toQF7mMD8KzJ/8yA=; b=X0hyhvW9CNUgfwPjZOYy 9UF8z6OPFxBRli94jLZjw/bRs8y31iZFiTs8rfNJJmhoRaWTFzaLHGgnc6g3G7sm 8jbs82oGoCyr384DO32KeWdWAhtOJi77RGZaDjdqlrTHYTUnT9qXBhCnIYO5hVc9 4o2jQip/yJsLRSqPaF1+Ylk= Received: (qmail 24830 invoked by alias); 1 May 2016 03:44:16 -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 24728 invoked by uid 89); 1 May 2016 03:44:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL, BAYES_40, RCVD_IN_DNSWL_LOW, SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*u:6.0, HTo:U*olegendo, H*Ad:U*olegendo, Install X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail2.asahi-net.or.jp Received: from mail2.asahi-net.or.jp (HELO mail2.asahi-net.or.jp) (202.224.39.198) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 01 May 2016 03:43:55 +0000 Received: from sa76r4 (y081184.ppp.asahi-net.or.jp [118.243.81.184]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 6ADD3D2F7; Sun, 1 May 2016 12:43:52 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by sa76r4 (Postfix) with ESMTP id 292D2FB5E; Sun, 1 May 2016 12:43:52 +0900 (JST) Received: from sa76r4 ([127.0.0.1]) by localhost (sa76r4.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cNBD3SrjBzc4; Sun, 1 May 2016 12:43:52 +0900 (JST) Received: from sa76r4.ysato.dip.jp (localhost [127.0.0.1]) by sa76r4 (Postfix) with ESMTP id F38981C1F; Sun, 1 May 2016 12:43:51 +0900 (JST) Date: Sun, 01 May 2016 12:43:51 +0900 Message-ID: <87vb2y8mtk.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Oleg Endo , gcc-patches@gcc.gnu.org Subject: Remove SH_DIV_CALL2 User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.5 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-IsSubscribed: yes Build failed on sh-*-linux and sh-*-netbsd. Please update. diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h index 09e966b..6117b9d 100644 --- a/gcc/config/sh/linux.h +++ b/gcc/config/sh/linux.h @@ -117,13 +117,6 @@ along with GCC; see the file COPYING3. If not see #define DBX_REGISTER_NUMBER(REGNO) \ (((REGNO) == 16) ? 16 : SH_DBX_REGISTER_NUMBER (REGNO)) -/* Since libgcc is compiled with -fpic for this target, we can't use - __sdivsi3_1 as the division strategy for -O0 and -Os. */ -#undef SH_DIV_STRATEGY_DEFAULT -#define SH_DIV_STRATEGY_DEFAULT SH_DIV_CALL2 -#undef SH_DIV_STR_FOR_SIZE -#define SH_DIV_STR_FOR_SIZE "call2" - /* Install the __sync libcalls. */ #undef TARGET_INIT_LIBFUNCS #define TARGET_INIT_LIBFUNCS sh_init_sync_libfuncs diff --git a/gcc/config/sh/netbsd-elf.h b/gcc/config/sh/netbsd-elf.h index e658018..c5c75a4 100644 --- a/gcc/config/sh/netbsd-elf.h +++ b/gcc/config/sh/netbsd-elf.h @@ -80,13 +80,6 @@ do \ } \ while (0) -/* Since libgcc is compiled with -fpic for this target, we can't use - __sdivsi3_1 as the division strategy for -O0 and -Os. */ -#undef SH_DIV_STRATEGY_DEFAULT -#define SH_DIV_STRATEGY_DEFAULT SH_DIV_CALL2 -#undef SH_DIV_STR_FOR_SIZE -#define SH_DIV_STR_FOR_SIZE "call2" - #undef SUBTARGET_OVERRIDE_OPTIONS #define SUBTARGET_OVERRIDE_OPTIONS \ do \