From patchwork Fri Oct 28 14:32:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Preudhomme X-Patchwork-Id: 79946 Delivered-To: patch@linaro.org Received: by 10.80.142.83 with SMTP id 19csp1240330edx; Fri, 28 Oct 2016 07:33:26 -0700 (PDT) X-Received: by 10.98.67.75 with SMTP id q72mr25285046pfa.99.1477665206561; Fri, 28 Oct 2016 07:33:26 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id o25si13927715pge.141.2016.10.28.07.33.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Oct 2016 07:33:26 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-return-94254-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org; spf=pass (google.com: domain of binutils-return-94254-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=binutils-return-94254-patch=linaro.org@sourceware.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; q=dns; s=default; b=R6Gk IQeZPeNqcNiC4Dj5hJuojpUmWdnbz7HTgZ+rZWs9M/ZhJSxfGePH6BamlRJ7Z5fJ yye/D6gB6xr+1uMbe1uxg4S1Oyza6o7SB8Pu3fsXwX3KFs+ewgwzQ0LX193lClm8 JPCTBBjX/+1HYGMzskddeZpmyBVca3t0YARdJAY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; s=default; bh=D7SuWKvgHz b/HVh7o1zFw5dj5n4=; b=Upac4wZqsEhU4PzIHTlivstYyr3OAoS2S3A+V3GIuP E76tbYMZh6ZwhJmKuvP/vDqlQZvXZ5yQCMzGkurFGNZpvtnDX4dpbyMDmCioh7ys OFZFMIua7UAljfNZtUSsub3vdPAGpE1MgmKAJDjIzcP1bTab1lB46Pa59o022dnd g= Received: (qmail 61530 invoked by alias); 28 Oct 2016 14:33:11 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Delivered-To: mailing list binutils@sourceware.org Received: (qmail 61508 invoked by uid 89); 28 Oct 2016 14:33:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=BAYES_50, KAM_LAZY_DOMAIN_SECURITY, KAM_LOTSOFHASH, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=CortexM7, FPU_NONE, arm_arch_v7em, arm_arch_v7m X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 28 Oct 2016 14:33:00 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6F04B16; Fri, 28 Oct 2016 07:32:59 -0700 (PDT) Received: from [10.2.206.52] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id AB3E23F220; Fri, 28 Oct 2016 07:32:58 -0700 (PDT) Subject: Re: [PATCH, gas/ARM] Add support for Cortex-M23 To: "Richard Earnshaw (lists)" , Nick Clifton , Alan Modra , binutils@sourceware.org References: From: Thomas Preudhomme Message-ID: Date: Fri, 28 Oct 2016 15:32:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: X-IsSubscribed: yes On 27/10/16 13:44, Richard Earnshaw (lists) wrote: > OK. Don't forget to update the NEWS file. I wasn't sure I should. I didn't see any entry for new processor support in the NEWS file. It seems we (ARM but also the community in general I think) only mention architecture. I'm happy to change our behavior (and I think it makes sense to announce any interface change) but I just want an extra confirmation from you: *** gas/ChangeLog *** 2016-10-27 Thomas Preud'homme * config/tc-arm.c (cortex-m23): Declare new processor. * doc/c-arm.texi (-mcpu ARM command line option): Document new Cortex-M23 processor. * NEWS: Mention Cortex-M23 support. Ok for master? Best regards, Thomas diff --git a/gas/NEWS b/gas/NEWS index 2dd2245d6e7fd762d02c7bbeff11aab7e536ecb5..a2a62563f867edf26462a08a23950b179710d288 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -1,5 +1,9 @@ -*- text -*- +Changes in 2.28: + +* Add support for the Cortex-M23 processor. + Changes in 2.27: * Default to --enable-compressed-debug-sections=gas for Linux/x86 targets. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 73f8396396ff85276dc5bc92f79764d6d194b3d3..69dfe989133cbdc12f2da9d2864e6788eace3353 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -25406,6 +25406,8 @@ static const struct arm_cpu_option_table arm_cpus[] = ARM_CPU_OPT ("cortex-r8", ARM_ARCH_V7R_IDIV, FPU_ARCH_VFP_V3D16, "Cortex-R8"), + ARM_CPU_OPT ("cortex-m23", ARM_ARCH_V8M_BASE, + FPU_NONE, "Cortex-M23"), ARM_CPU_OPT ("cortex-m7", ARM_ARCH_V7EM, FPU_NONE, "Cortex-M7"), ARM_CPU_OPT ("cortex-m4", ARM_ARCH_V7EM, FPU_NONE, "Cortex-M4"), ARM_CPU_OPT ("cortex-m3", ARM_ARCH_V7M, FPU_NONE, "Cortex-M3"), diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 0cf7390dc5f28dc34b33c377ff59f06f5aee2a89..565ef73250e957e2da11cc261ec9d4b5ccb9c7c2 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -131,6 +131,7 @@ recognized: @code{cortex-r5}, @code{cortex-r7}, @code{cortex-r8}, +@code{cortex-m23}, @code{cortex-m7}, @code{cortex-m4}, @code{cortex-m3},