mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 03:40:06 +00:00
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
This commit is contained in:
parent
0e0deb0360
commit
f60db8eda7
@ -1,3 +1,10 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2003-06-16 Thorsten Kukuk <kukuk@suse.de>
|
2003-06-16 Thorsten Kukuk <kukuk@suse.de>
|
||||||
|
|
||||||
* include/libc-symbols.h: Add static_link_warning macro.
|
* include/libc-symbols.h: Add static_link_warning macro.
|
||||||
@ -195,7 +202,7 @@
|
|||||||
|
|
||||||
2003-06-12 Ulrich Drepper <drepper@redhat.com>
|
2003-06-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date alse
|
* sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date also
|
||||||
if only PF_INET address is needed.
|
if only PF_INET address is needed.
|
||||||
|
|
||||||
* nss/getXXbyYY_r.c: Make sure we always return a nonzero value in
|
* nss/getXXbyYY_r.c: Make sure we always return a nonzero value in
|
||||||
|
@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -41,6 +41,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
.globl __socket
|
.globl __socket
|
||||||
|
cfi_startproc
|
||||||
ENTRY (__socket)
|
ENTRY (__socket)
|
||||||
#if defined NEED_CANCELLATION && defined CENABLE
|
#if defined NEED_CANCELLATION && defined CENABLE
|
||||||
SINGLE_THREAD_P
|
SINGLE_THREAD_P
|
||||||
@ -49,6 +50,7 @@ ENTRY (__socket)
|
|||||||
|
|
||||||
/* Save registers. */
|
/* Save registers. */
|
||||||
movl %ebx, %edx
|
movl %ebx, %edx
|
||||||
|
cfi_register (3, 2)
|
||||||
|
|
||||||
movl $SYS_ify(socketcall), %eax /* System call number in %eax. */
|
movl $SYS_ify(socketcall), %eax /* System call number in %eax. */
|
||||||
|
|
||||||
@ -61,6 +63,7 @@ ENTRY (__socket)
|
|||||||
|
|
||||||
/* Restore registers. */
|
/* Restore registers. */
|
||||||
movl %edx, %ebx
|
movl %edx, %ebx
|
||||||
|
cfi_restore (3)
|
||||||
|
|
||||||
/* %eax is < 0 if there was an error. */
|
/* %eax is < 0 if there was an error. */
|
||||||
cmpl $-125, %eax
|
cmpl $-125, %eax
|
||||||
@ -74,13 +77,16 @@ L(pseudo_end):
|
|||||||
#if defined NEED_CANCELLATION && defined CENABLE
|
#if defined NEED_CANCELLATION && defined CENABLE
|
||||||
/* We need one more register. */
|
/* We need one more register. */
|
||||||
1: pushl %esi
|
1: pushl %esi
|
||||||
|
cfi_adjust_cfa_offset(4)
|
||||||
|
|
||||||
/* Enable asynchronous cancellation. */
|
/* Enable asynchronous cancellation. */
|
||||||
CENABLE
|
CENABLE
|
||||||
movl %eax, %esi
|
movl %eax, %esi
|
||||||
|
cfi_offset(6, -8) /* %esi */
|
||||||
|
|
||||||
/* Save registers. */
|
/* Save registers. */
|
||||||
movl %ebx, %edx
|
movl %ebx, %edx
|
||||||
|
cfi_register (3, 2)
|
||||||
|
|
||||||
movl $SYS_ify(socketcall), %eax /* System call number in %eax. */
|
movl $SYS_ify(socketcall), %eax /* System call number in %eax. */
|
||||||
|
|
||||||
@ -93,6 +99,7 @@ L(pseudo_end):
|
|||||||
|
|
||||||
/* Restore registers. */
|
/* Restore registers. */
|
||||||
movl %edx, %ebx
|
movl %edx, %ebx
|
||||||
|
cfi_restore (3)
|
||||||
|
|
||||||
/* Restore the cancellation. */
|
/* Restore the cancellation. */
|
||||||
xchgl %esi, %eax
|
xchgl %esi, %eax
|
||||||
@ -101,6 +108,8 @@ L(pseudo_end):
|
|||||||
/* Restore registers. */
|
/* Restore registers. */
|
||||||
movl %esi, %eax
|
movl %esi, %eax
|
||||||
popl %esi
|
popl %esi
|
||||||
|
cfi_restore (6)
|
||||||
|
cfi_adjust_cfa_offset(-4)
|
||||||
|
|
||||||
/* %eax is < 0 if there was an error. */
|
/* %eax is < 0 if there was an error. */
|
||||||
cmpl $-125, %eax
|
cmpl $-125, %eax
|
||||||
@ -109,6 +118,7 @@ L(pseudo_end):
|
|||||||
/* Successful; return the syscall's value. */
|
/* Successful; return the syscall's value. */
|
||||||
ret
|
ret
|
||||||
#endif
|
#endif
|
||||||
|
cfi_endproc
|
||||||
PSEUDO_END (__socket)
|
PSEUDO_END (__socket)
|
||||||
|
|
||||||
#ifndef NO_WEAK_ALIAS
|
#ifndef NO_WEAK_ALIAS
|
||||||
|
Loading…
Reference in New Issue
Block a user