fix clobber of edx in i386 vsyscall asm
authorRich Felker <dalias@aerifal.cx>
Sun, 11 Nov 2012 18:56:37 +0000 (13:56 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 11 Nov 2012 18:56:37 +0000 (13:56 -0500)
commite9b885ee550e8a3eabc9d11c469baf1cfaf64f55
treeb2b61c6270cf5572df5dabc2581d4ba287d33a91
parentdc059f03e8277abe3f515f350bd9615416aaa5ef
fix clobber of edx in i386 vsyscall asm

this function does not obey the normal calling convention; like a
syscall instruction, it's expected not to clobber any registers except
the return value. clobbering edx could break callers that were reusing
the value cached in edx after the syscall returns.
src/internal/i386/syscall.s