2002-12-16  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/socket.S [NEED_CANCELLATION &&
	CENABLE]: Don't lose content of %ebx.
This commit is contained in:
Ulrich Drepper 2002-12-17 03:49:23 +00:00
parent bd499a3b46
commit 26a026b940
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-12-16 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/socket.S [NEED_CANCELLATION &&
CENABLE]: Don't lose content of %ebx.
2002-12-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/socket.S: Use SINGLE_THREAD_P

View File

@ -91,13 +91,15 @@ L(pseudo_end):
/* Do the system call trap. */
int $0x80
/* Restore registers. */
movl %edx, %ebx
/* Restore the cancellation. */
xchgl %esi, %eax
CDISABLE
/* Restore registers. */
movl %esi, %eax
movl %edx, %ebx
popl %esi
/* %eax is < 0 if there was an error. */