History log of /bionic/libc/arch-x86/bionic/syscall.S
Revision Date Author Comments
5288fee835a6e52d7870b3ee3320a5a3ddb96f34 17-Jun-2011 Jun Nakajima <jun.nakajima@intel.com> x86 libc: Fix the range to check the error

The spec says "A value in the range between -4095 to -1 indicates an error" (not -129).
This was pointed out in the comment in 22039.

Change-Id: I11b7c45015a9e4ccf09aed5364a889437eab6ab8
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
8488efaa0913f8484cbfdb61180e47bc19fff5d8 28-Mar-2011 Kan-Ru Chen <kanru@0xlab.org> x86 libc: fix the wrong return value of syscall

According to Intel ABI spec, there is no need to save %eax, %ecx, %edx
on the stack. Worse, popping %eax will wipe out the return value.

Change-Id: Ida536c3b98174b8deef88f8f3b9352eaaeb7c0c0
3c543e1da9a2780a70b25299f39734bf0a18c4a0 04-Mar-2010 Bruce Beare <brucex.j.beare@intel.com> x86 syscall system call implementation