summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-30 17:39:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-30 17:39:08 +0000
commiteacc8e3b8814b743ff182ba1c41324065a8f8538 (patch)
treebd32f920b173e8a1c909cdea68e7005335de5cc8 /c
parentPatch from Tony R. Ambardar <tonya@ece.ubc.ca> to add byte wide (diff)
downloadrtems-eacc8e3b8814b743ff182ba1c41324065a8f8538.tar.bz2
Patch from "Tony R. Ambardar" <tonya@ece.ubc.ca> and blessed by
Ian Lance Taylor <ian@airs.com> to note that condition codes are modified.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libcpu/i386/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/i386/cpu.h b/c/src/lib/libcpu/i386/cpu.h
index 21357afd7e..98c3162608 100644
--- a/c/src/lib/libcpu/i386/cpu.h
+++ b/c/src/lib/libcpu/i386/cpu.h
@@ -43,7 +43,7 @@
{ \
asm volatile ( "push %0 ; \
popf" \
- : : "rm" ((_level)) \
+ : : "rm" ((_level)) : "cc" \
); \
}
@@ -52,7 +52,7 @@
asm volatile ( "push %0 ; \
popf ; \
cli" \
- : : "rm" ((_level)) \
+ : : "rm" ((_level)) : "cc" \
); \
}