From 1dc519633ce37558099ac92841eab44998d672fb Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 27 Nov 2001 20:51:26 +0000 Subject: Use 'mov' instead of 'lea' for setting the syscall number in %eax as that is clearer about what we are actually doing. Requested by: bde --- lib/libc/i386/gen/rfork_thread.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc/i386/gen') diff --git a/lib/libc/i386/gen/rfork_thread.S b/lib/libc/i386/gen/rfork_thread.S index 2d63b67c..9ce4a75 100644 --- a/lib/libc/i386/gen/rfork_thread.S +++ b/lib/libc/i386/gen/rfork_thread.S @@ -65,7 +65,7 @@ ENTRY(rfork_thread) */ pushl 8(%ebp) pushl $0 - leal SYS_rfork, %eax + movl $SYS_rfork, %eax KERNCALL jb 2f @@ -98,9 +98,9 @@ ENTRY(rfork_thread) pushl %eax pushl $0 #ifdef SYS_exit - leal SYS_exit, %eax + movl $SYS_exit, %eax #else - leal SYS_sys_exit, %eax + movl $SYS_sys_exit, %eax #endif KERNCALL -- cgit v1.1