diff --git a/loader/ldt_keeper.c b/loader/ldt_keeper.c index 186ad0bbdc..322bc93084 100644 --- a/loader/ldt_keeper.c +++ b/loader/ldt_keeper.c @@ -118,6 +118,7 @@ void Setup_FS_Segment(void) __asm__ __volatile__( "movl %0,%%eax; movw %%ax, %%fs" : : "r" (ldt_desc) + :"eax" ); } diff --git a/loader/win32.c b/loader/win32.c index f67da71328..d62d5665a4 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -118,6 +118,7 @@ static void c_longcount_tsc(long long* z) "movl %%edx, 4(%%ebx)\n\t" "popl %%ebx\n\t" ::"a"(z) + :"edx" ); } static unsigned int c_localcount_notsc()