diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-06-16 23:07:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-06-16 23:07:43 +0000 |
commit | f60db8eda7b87c63f3bc89d4e82fc4f144fb4aa3 (patch) | |
tree | c2700b6eb7f453523d7a78695384c3ad25f474d8 /sysdeps | |
parent | 0e0deb03602992472f6efd0e442f6eb0488a1368 (diff) | |
download | glibc-f60db8eda7b87c63f3bc89d4e82fc4f144fb4aa3.tar glibc-f60db8eda7b87c63f3bc89d4e82fc4f144fb4aa3.tar.gz glibc-f60db8eda7b87c63f3bc89d4e82fc4f144fb4aa3.tar.bz2 glibc-f60db8eda7b87c63f3bc89d4e82fc4f144fb4aa3.zip |
Update.
2003-06-16 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/socket.S: Add unwind information.
* sysdeps/unix/sysv/linux/wait.c (__libc_wait): Fix type of result
variable.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date also
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/socket.S | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/socket.S b/sysdeps/unix/sysv/linux/i386/socket.S index a5af6b2907..e403899cc6 100644 --- a/sysdeps/unix/sysv/linux/i386/socket.S +++ b/sysdeps/unix/sysv/linux/i386/socket.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997, 1998, 2002 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,1998,2002,2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -41,6 +41,7 @@ #endif .globl __socket + cfi_startproc ENTRY (__socket) #if defined NEED_CANCELLATION && defined CENABLE SINGLE_THREAD_P @@ -49,6 +50,7 @@ ENTRY (__socket) /* Save registers. */ movl %ebx, %edx + cfi_register (3, 2) movl $SYS_ify(socketcall), %eax /* System call number in %eax. */ @@ -61,6 +63,7 @@ ENTRY (__socket) /* Restore registers. */ movl %edx, %ebx + cfi_restore (3) /* %eax is < 0 if there was an error. */ cmpl $-125, %eax @@ -74,13 +77,16 @@ L(pseudo_end): #if defined NEED_CANCELLATION && defined CENABLE /* We need one more register. */ 1: pushl %esi + cfi_adjust_cfa_offset(4) /* Enable asynchronous cancellation. */ CENABLE movl %eax, %esi + cfi_offset(6, -8) /* %esi */ /* Save registers. */ movl %ebx, %edx + cfi_register (3, 2) movl $SYS_ify(socketcall), %eax /* System call number in %eax. */ @@ -93,6 +99,7 @@ L(pseudo_end): /* Restore registers. */ movl %edx, %ebx + cfi_restore (3) /* Restore the cancellation. */ xchgl %esi, %eax @@ -101,6 +108,8 @@ L(pseudo_end): /* Restore registers. */ movl %esi, %eax popl %esi + cfi_restore (6) + cfi_adjust_cfa_offset(-4) /* %eax is < 0 if there was an error. */ cmpl $-125, %eax @@ -109,6 +118,7 @@ L(pseudo_end): /* Successful; return the syscall's value. */ ret #endif + cfi_endproc PSEUDO_END (__socket) #ifndef NO_WEAK_ALIAS |