changeset 14212:540903a59fc0

add missing registers in clobber list, fixes bug #169 Patch by basic basic (at) mozdev [dot] org
author reimar
date Tue, 21 Dec 2004 23:26:45 +0000
parents 8eafb582e32b
children 3c56b18bbb0c
files loader/ldt_keeper.c loader/win32.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loader/ldt_keeper.c	Tue Dec 21 23:12:31 2004 +0000
+++ b/loader/ldt_keeper.c	Tue Dec 21 23:26:45 2004 +0000
@@ -118,6 +118,7 @@
 
     __asm__ __volatile__(
 	"movl %0,%%eax; movw %%ax, %%fs" : : "r" (ldt_desc)
+	:"eax"
     );
 }
 
--- a/loader/win32.c	Tue Dec 21 23:12:31 2004 +0000
+++ b/loader/win32.c	Tue Dec 21 23:26:45 2004 +0000
@@ -118,6 +118,7 @@
 	 "movl %%edx, 4(%%ebx)\n\t"
 	 "popl %%ebx\n\t"
 	 ::"a"(z)
+	 :"edx"
 	);
 }
 static unsigned int c_localcount_notsc()