diff mbox

Fix inline assembly.

Message ID 1309432521-4353-2-git-send-email-ken.werner@linaro.org
State Accepted
Commit b28335b5a59ff5909d816ff539c1e5c246e40baa
Headers show

Commit Message

Ken Werner June 30, 2011, 11:15 a.m. UTC
Remove the third colon if the clobber list is not present.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
---
 src/arm/Gresume.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

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