diff options
| author | Kan-Ru Chen <kanru@0xlab.org> | 2011-03-29 12:00:38 +0800 |
|---|---|---|
| committer | Chih-Wei Huang <cwhuang@linux.org.tw> | 2011-03-29 13:16:42 +0800 |
| commit | 8488efaa0913f8484cbfdb61180e47bc19fff5d8 (patch) | |
| tree | bd9db56eb6b7dc84e2fdb50178f23c6ac6a9b7b2 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
| 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
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions
