From patchwork Thu Jun 30 11:15:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ken Werner X-Patchwork-Id: 2382 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id BEB9B23F57 for ; Thu, 30 Jun 2011 11:15:37 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 88DB8A18693 for ; Thu, 30 Jun 2011 11:15:37 +0000 (UTC) Received: by qwb8 with SMTP id 8so1493805qwb.11 for ; Thu, 30 Jun 2011 04:15:37 -0700 (PDT) Received: by 10.229.62.194 with SMTP id y2mr1457167qch.4.1309432536841; Thu, 30 Jun 2011 04:15:36 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.48.135 with SMTP id r7cs69065qcf; Thu, 30 Jun 2011 04:15:36 -0700 (PDT) Received: by 10.216.137.4 with SMTP id x4mr2582726wei.53.1309432535354; Thu, 30 Jun 2011 04:15:35 -0700 (PDT) Received: from mtagate1.uk.ibm.com (mtagate1.uk.ibm.com [194.196.100.161]) by mx.google.com with ESMTPS id o80si4434060weq.34.2011.06.30.04.15.34 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 30 Jun 2011 04:15:35 -0700 (PDT) Received-SPF: neutral (google.com: 194.196.100.161 is neither permitted nor denied by best guess record for domain of ken.werner@linaro.org) client-ip=194.196.100.161; Authentication-Results: mx.google.com; spf=neutral (google.com: 194.196.100.161 is neither permitted nor denied by best guess record for domain of ken.werner@linaro.org) smtp.mail=ken.werner@linaro.org Received: from d06nrmr1507.portsmouth.uk.ibm.com (d06nrmr1507.portsmouth.uk.ibm.com [9.149.38.233]) by mtagate1.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p5UBFYpW027799 for ; Thu, 30 Jun 2011 11:15:34 GMT Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by d06nrmr1507.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p5UBFYeP2441222 for ; Thu, 30 Jun 2011 12:15:34 +0100 Received: from d06av07.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p5UBFYig007640 for ; Thu, 30 Jun 2011 05:15:34 -0600 Received: from leonard.ibm.com (ICON-9-164-154-228.megacenter.de.ibm.com [9.164.154.228]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p5UBFW7t007581; Thu, 30 Jun 2011 05:15:33 -0600 From: Ken Werner To: libunwind-devel@nongnu.org Subject: [PATCH] Fix inline assembly. Date: Thu, 30 Jun 2011 13:15:21 +0200 Message-Id: <1309432521-4353-2-git-send-email-ken.werner@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1309432521-4353-1-git-send-email-ken.werner@linaro.org> References: <1309432521-4353-1-git-send-email-ken.werner@linaro.org> Remove the third colon if the clobber list is not present. Signed-off-by: Ken Werner --- src/arm/Gresume.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arm/Gresume.c b/src/arm/Gresume.c index c870f5f..f496e99 100644 --- a/src/arm/Gresume.c +++ b/src/arm/Gresume.c @@ -55,7 +55,7 @@ arm_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg) "ldmia %0, {r4-r12, lr}\n" "mov sp, r12\n" "bx lr\n" - : : "r" (regs) : + : : "r" (regs) ); } else @@ -87,7 +87,7 @@ arm_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg) asm __volatile__ ( "mov sp, %0\n" "bx %1\n" - : : "r" (c->sigcontext_sp), "r" (c->sigcontext_pc) : + : : "r" (c->sigcontext_sp), "r" (c->sigcontext_pc) ); } #else