commit | 8488efaa0913f8484cbfdb61180e47bc19fff5d8 | [log] [tgz] |
---|---|---|
author | Kan-Ru Chen <kanru@0xlab.org> | Tue Mar 29 12:00:38 2011 +0800 |
committer | Chih-Wei Huang <cwhuang@linux.org.tw> | Tue Mar 29 13:16:42 2011 +0800 |
tree | bd9db56eb6b7dc84e2fdb50178f23c6ac6a9b7b2 | |
parent | 0e47a919f413ff14a540a0dbad873ee8f834b210 [diff] |
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