From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10002 invoked by alias); 17 May 2010 09:36:36 -0000 Received: (qmail 9988 invoked by uid 22791); 17 May 2010 09:36:35 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from relay.ptn-ipout01.plus.net (HELO relay.ptn-ipout01.plus.net) (212.159.7.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 May 2010 09:36:30 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAGaq8EvUnwpC/2dsb2JhbACebrtWhRAE Received: from mailc03.plus.net (HELO pih-smtp-proxy02.plus.net) ([212.159.10.66]) by relay.ptn-ipout01.plus.net with ESMTP; 17 May 2010 10:36:28 +0100 Received: from [80.189.249.164] (helo=[192.168.0.2]) by pih-smtp-proxy02.plus.net with esmtp (Exim 4.63) (envelope-from ) id 1ODwkN-0002Ar-VM; Mon, 17 May 2010 10:36:28 +0100 Received: from 127.0.0.1 (AVG SMTP 9.0.819 [271.1.1/2878]); Mon, 17 May 2010 10:36:33 +0100 Message-ID: <4BF10E21.8090706@spen-soft.co.uk> Date: Mon, 17 May 2010 09:36:00 -0000 From: Spencer Oliver User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Jonathan Larmour CC: ecos-patches@ecos.sourceware.org Subject: Re: [PATCH] when building using binutils 2.20: References: <4BE012A5.1050907@spen-soft.co.uk> <4BEAA92D.70807@jifvik.org> In-Reply-To: <4BEAA92D.70807@jifvik.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2010-05/txt/msg00030.txt.bz2 On 12/05/2010 14:12, Jonathan Larmour wrote: > Spencer Oliver wrote: >> cortex_m3: buildfix for binutils 2.20 >> >> when building using binutils 2.20: >> - swi inst now requires an argument. >> - msr psp,sp is not allowed. > > I'll let Nick handle this patch, but I'm curious (and admittedly haven't > looked at the ISA details): it seems strange that msr psp,sp used to be > allowed but now is not - and presumably it worked on the hardware > otherwise it wouldn't have been in the port. > msr psp,sp used to be allowed, but the armv7m trm states it as undefined behaviour - this seems to match what realview does. Cheers Spen