Module: xenomai-2.6
Branch: master
Commit: 51af62d8042a826978c866fee9b1515481ac29c5
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=51af62d8042a826978c866fee9b1515481ac29c5

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Jul 20 09:13:20 2015 +0200

cobalt/x86: fix missing early clobber in asm

Backported from Xenomai 3.0.
Detected with gcc 5.1.1 20150618 (Red Hat 5.1.1-4).

---

 include/asm-x86/arith_32.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/asm-x86/arith_32.h b/include/asm-x86/arith_32.h
index 11c9564..6aa82c6 100644
--- a/include/asm-x86/arith_32.h
+++ b/include/asm-x86/arith_32.h
@@ -131,7 +131,7 @@ __rthal_i386_ulldiv (const unsigned long long ull,
                "mov  %[__s],%%ecx\n\t"                                 \
                "shrd %%cl,%%edx,%%eax\n\t"                             \
                "shrd %%cl,%[__hi],%%edx\n\t"                           \
-               : "=A" (__ret), [__lo] "=r" (__lo), [__hi] "=r" (__hi)  \
+               : "=A" (__ret), [__lo] "=&r" (__lo), [__hi] "=&r" (__hi)        
\
                : "A" (ll), [__m] "m" (m), [__s] "m" (s)                \
                : "ecx");                                               \
        __ret;                                                          \


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to