Received: from eggs.gnu.org ([2001:4830:134:3::10]:58141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi1uG-00015o-7y for qemu-devel@nongnu.org; Thu, 08 Sep 2016 12:10:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bi1uA-0002Xq-F6 for qemu-devel@nongnu.org; Thu, 08 Sep 2016 12:10:27 -0400 Received: from mail-yw0-x244.google.com ([2607:f8b0:4002:c05::244]:34356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi1uA-0002Xk-B9 for qemu-devel@nongnu.org; Thu, 08 Sep 2016 12:10:22 -0400 Received: by mail-yw0-x244.google.com with SMTP id j1so2042843ywb.1 for ; Thu, 08 Sep 2016 09:10:22 -0700 (PDT) Sender: Richard Henderson References: <935a11f2-8f24-a7fb-a912-0dfc0fc36ee4@twiddle.net> <1473334736-2775-1-git-send-email-rabin.vincent@axis.com> From: Richard Henderson Message-ID: Date: Thu, 8 Sep 2016 09:10:19 -0700 MIME-Version: 1.0 In-Reply-To: <1473334736-2775-1-git-send-email-rabin.vincent@axis.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCHv2 2/8] tests: cris: fix syscall inline asm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rabin Vincent , edgar.iglesias@gmail.com Cc: qemu-devel@nongnu.org, Rabin Vincent On 09/08/2016 04:38 AM, Rabin Vincent wrote: > From: Rabin Vincent > > Add the appropriate register constraints for the inline asm for the > write and exit system calls. Without the correct constraints for the > write() function, correct failure messages are not printed succesfully > on newer version of GCC. > > Signed-off-by: Rabin Vincent > --- > v2: reworked to set up arguments correctly > > tests/tcg/cris/sys.c | 26 +++++++++++++++++--------- > 1 file changed, 17 insertions(+), 9 deletions(-) Reviewed-by: Richard Henderson r~