Message ID | 1477084855-24017-1-git-send-email-vgupta@synopsys.com |
---|---|
State | New |
Headers | show
Return-Path: <uclibc-bounces@uclibc.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t0zBX6GhJz9ryT for <incoming@patchwork.ozlabs.org>; Sat, 22 Oct 2016 08:21:23 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 72E45927DA; Fri, 21 Oct 2016 21:21:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kQTHDfQfMPxu; Fri, 21 Oct 2016 21:21:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 43A9D927D9; Fri, 21 Oct 2016 21:21:18 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E20331CE541 for <uclibc@lists.busybox.net>; Fri, 21 Oct 2016 21:21:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DFA4495BFC for <uclibc@lists.busybox.net>; Fri, 21 Oct 2016 21:21:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y4k9T6x1AFfq for <uclibc@lists.busybox.net>; Fri, 21 Oct 2016 21:21:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay.synopsys.com (smtprelay.synopsys.com [198.182.47.9]) by hemlock.osuosl.org (Postfix) with ESMTPS id E9E6A95B04 for <uclibc@uclibc.org>; Fri, 21 Oct 2016 21:21:12 +0000 (UTC) Received: from us02secmta1.synopsys.com (us02secmta1.synopsys.com [10.12.235.96]) by smtprelay.synopsys.com (Postfix) with ESMTP id 557A824E0F2D; Fri, 21 Oct 2016 14:21:12 -0700 (PDT) Received: from us02secmta1.internal.synopsys.com (us02secmta1.internal.synopsys.com [127.0.0.1]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id 4A2774E213; Fri, 21 Oct 2016 14:21:12 -0700 (PDT) Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id 233564E202; Fri, 21 Oct 2016 14:21:12 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 0AED11A2; Fri, 21 Oct 2016 14:21:12 -0700 (PDT) Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id AFAE119F; Fri, 21 Oct 2016 14:21:11 -0700 (PDT) Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.106) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.266.1; Fri, 21 Oct 2016 14:21:11 -0700 Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.103) by IN01WEHTCB.internal.synopsys.com (10.144.199.105) with Microsoft SMTP Server (TLS) id 14.3.266.1; Sat, 22 Oct 2016 02:51:09 +0530 Received: from vineetg-Latitude-E7450.internal.synopsys.com (10.10.161.64) by IN01WEHTCA.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.266.1; Sat, 22 Oct 2016 02:51:08 +0530 From: Vineet Gupta <Vineet.Gupta1@synopsys.com> To: <devel@uclibc-ng.org> Subject: [PATCH] ARC: build: don't force usage of llock and swape instructions Date: Fri, 21 Oct 2016 14:20:55 -0700 Message-ID: <1477084855-24017-1-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.10.161.64] Cc: uclibc@uclibc.org, Vineet Gupta <Vineet.Gupta1@synopsys.com>, linux-snps-arc@lists.infradead.org X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" <uclibc.uclibc.org> List-Unsubscribe: <http://lists.busybox.net/mailman/options/uclibc>, <mailto:uclibc-request@uclibc.org?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/uclibc/> List-Post: <mailto:uclibc@uclibc.org> List-Help: <mailto:uclibc-request@uclibc.org?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/uclibc>, <mailto:uclibc-request@uclibc.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: uclibc-bounces@uclibc.org Sender: "uClibc" <uclibc-bounces@uclibc.org> |
diff --git a/Rules.mak b/Rules.mak index 8d0e66a49b72..cc1545c81f40 100644 --- a/Rules.mak +++ b/Rules.mak @@ -507,7 +507,6 @@ ifeq ($(TARGET_ARCH),c6x) endif ifeq ($(TARGET_ARCH),arc) - CPU_CFLAGS-y += -mlock -mswape CPU_CFLAGS-$(CONFIG_ARC_CPU_700) += -mA7 CPU_CFLAGS-$(CONFIG_ARC_CPU_HS) += -mcpu=archs CPU_LDFLAGS-y += $(CPU_CFLAGS) -marclinux
This is because some old ARC750 cores lack these instructions. We now rely on the default for the toolchain driver: -mcpu=A7 won't enable those, while -mcpu=archs will as these instructions are baseline (and thus is not impacted with this change). If some arc700 based cpu does have them, it can override the driver defaults in it's one level up build system. Signed-off-by: Vineet Gupta <vgupta@synopsys.com> --- Rules.mak | 1 - 1 file changed, 1 deletion(-)