From 167217bec15c9c7aa70ba2a3dc9c689b3cd91872 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 14 May 2001 14:19:32 +0000 Subject: import new version of dietlibc --- mdk-stage1/dietlibc/i386/unified.S | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'mdk-stage1/dietlibc/i386/unified.S') diff --git a/mdk-stage1/dietlibc/i386/unified.S b/mdk-stage1/dietlibc/i386/unified.S index 740cb0ecc..f182bdb4b 100644 --- a/mdk-stage1/dietlibc/i386/unified.S +++ b/mdk-stage1/dietlibc/i386/unified.S @@ -3,15 +3,16 @@ .text .global __unified_syscall __unified_syscall: - and $0xff,%eax + movzbl %al, %eax push %edi push %esi push %ebx - movl 0x10(%esp),%ebx - movl 0x14(%esp),%ecx - movl 0x18(%esp),%edx - movl 0x1c(%esp),%esi - movl 0x20(%esp),%edi + movl %esp,%edi + movl 0x10(%edi),%ebx + movl 0x14(%edi),%ecx + movl 0x18(%edi),%edx + movl 0x1c(%edi),%esi + movl 0x20(%edi),%edi int $0x80 cmp $-124,%eax jbe .Lnoerror -- cgit v1.2.1