]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 26 Jan 2005 20:02:05 +0000 (20:02 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 26 Jan 2005 20:02:05 +0000 (20:02 +0000)
2005-01-26  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
MSG_NOSIGNAL being in 2.2 kernels.

ChangeLog
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S
nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S
nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S
sysdeps/unix/sysv/linux/kernel-features.h

index 77a3174a43447908b66f9babff14fd641338ed23..8b3e3e2b43ec12e5fc72b62238f83b3d4c7364e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-26  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
+       MSG_NOSIGNAL being in 2.2 kernels.
+
 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/unix/sysv/linux/i386/sysdep.h
index 61aca263b3ef506084eabafe123b870d1726ccc0..e299ba9af59f57ab187ac59503e22f2fabe36f4c 100644 (file)
@@ -1,3 +1,15 @@
+2005-01-26  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S (__new_sem_trywait):
+       Use direct %gs segment access or, if NO_TLS_DIRECT_SEG_REFS,
+       at least gotntpoff relocation and addition.
+       * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S (sem_timedwait):
+       Likewise.
+       * sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__new_sem_post):
+       Likewise.
+       * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S (__new_sem_wait):
+       Likewise.
+
 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
 
        * allocatestack.c (init_one_static_tls): Adjust initialization of DTV
index 3d67329bd1569d76de0bca331bd57f0a7c26aee9..71e96d2228ef6f51175b0cd840cf9bdd97f485e9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -65,9 +65,14 @@ __new_sem_post:
 #endif
        addl    $_GLOBAL_OFFSET_TABLE_, %ebx
 #if USE___THREAD
-       movl    %gs:0, %edx
-       subl    errno@gottpoff(%ebx), %edx
+# ifdef NO_TLS_DIRECT_SEG_REFS
+       movl    errno@gotntpoff(%ebx), %edx
+       addl    %gs:0, %edx
        movl    $EINVAL, (%edx)
+# else
+       movl    errno@gotntpoff(%ebx), %edx
+       movl    $EINVAL, %gs:(%edx)
+# endif
 #else
        call    __errno_location@plt
        movl    $EINVAL, (%eax)
index 5b244769361ae3cd79c9f5158113e7e275ea81cd..318b53a87340004483e4c0cb287a1350db9c3c7e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -158,9 +158,14 @@ sem_timedwait:
 #endif
        addl    $_GLOBAL_OFFSET_TABLE_, %ebx
 #if USE___THREAD
-       movl    %gs:0, %edx
-       subl    errno@gottpoff(%ebx), %edx
+# ifdef NO_TLS_DIRECT_SEG_REFS
+       movl    errno@gotntpoff(%ebx), %edx
+       addl    %gs:0, %edx
        movl    %esi, (%edx)
+# else
+       movl    errno@gotntpoff(%ebx), %edx
+       movl    %esi, %gs:(%edx)
+# endif
 #else
        call    __errno_location@plt
        movl    %esi, (%eax)
index a7c405d95f3f1b5ca801e8c6c1c13b5b54a3a0f0..d36a1088fbc9fd18c75caeec36dd4102ac967210 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -55,9 +55,14 @@ __new_sem_trywait:
 #endif
        addl    $_GLOBAL_OFFSET_TABLE_, %ecx
 #if USE___THREAD
-       movl    %gs:0, %edx
-       subl    errno@gottpoff(%ecx), %edx
+# ifdef NO_TLS_DIRECT_SEG_REFS
+       movl    errno@gotntpoff(%ecx), %edx
+       addl    %gs:0, %edx
        movl    $EAGAIN, (%edx)
+# else
+       movl    errno@gotntpoff(%ecx), %edx
+       movl    $EAGAIN, %gs:(%edx)
+# endif
 #else
        call    __errno_location@plt
        movl    $EAGAIN, (%eax)
index b7674dc3baf85e0574a7fefd0a1245decd8ad4fb..1605b69b6902b7357f224208d96bdd4a4d1ff060 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -102,9 +102,14 @@ __new_sem_wait:
 #endif
        addl    $_GLOBAL_OFFSET_TABLE_, %ebx
 #if USE___THREAD
-       movl    %gs:0, %edx
-       subl    errno@gottpoff(%ebx), %edx
+# ifdef NO_TLS_DIRECT_SEG_REFS
+       movl    errno@gotntpoff(%ebx), %edx
+       addl    %gs:0, %edx
        movl    %esi, (%edx)
+# else
+       movl    errno@gotntpoff(%ebx), %edx
+       movl    %esi, %gs:(%edx)
+# endif
 #else
        call    __errno_location@plt
        movl    %esi, (%eax)
index 39b980e89818a423132353bf8fab39e043488abe..83ebe0cf74c3bd9e2795cb74af03cc6f45684850 100644 (file)
@@ -79,8 +79,8 @@
 # define __ASSUME_SIOCGIFNAME          1
 #endif
 
-/* MSG_NOSIGNAL was at least available with Linux 2.3.15.  */
-#if __LINUX_KERNEL_VERSION >= 131855
+/* MSG_NOSIGNAL was at least available with Linux 2.2.0.  */
+#if __LINUX_KERNEL_VERSION >= 131584
 # define __ASSUME_MSG_NOSIGNAL         1
 #endif