]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 8 Jul 2003 03:42:49 +0000 (03:42 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 8 Jul 2003 03:42:49 +0000 (03:42 +0000)
2003-07-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h: Version
__ASSUME_CORRECT_SI_PID and __ASSUME_TGKILL if possible.

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
compilation with HAVE_AUX_SECURE defined.

ChangeLog
nptl/ChangeLog
nptl/sysdeps/alpha/elf/pt-initfini.c
nptl/sysdeps/unix/sysv/linux/alpha/lowlevellock.h

index 8652cc20733b9df0761301ff608e05eec1c59fec..e9dba72bce8e1087dbbec2f93eb0f57b4b4677e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-07-07  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/kernel-features.h: Version
+       __ASSUME_CORRECT_SI_PID and __ASSUME_TGKILL if possible.
+
+       * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
+       compilation with HAVE_AUX_SECURE defined.
+
 2003-07-05  Richard Henderson  <rth@redhat.com>
 
        * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
index 4fa3910baca1429f04d78f7f5adf68c837cdbb4e..27926968bc128517fccfc8a8c5782fe923d9a49a 100644 (file)
@@ -1,3 +1,10 @@
+2003-07-05  Richard Henderson  <rth@redhat.com>
+
+       * sysdeps/alpha/elf/pt-initfini.c: Avoid .ent/.end.
+       * sysdeps/unix/sysv/linux/alpha/lowlevellock.h (lll_futex_wait,
+        lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On success
+        return actual return value from the syscall, not 0.
+
 2003-07-07  Ulrich Drepper  <drepper@redhat.com>
 
        * descr.h (struct pthread): Add pid field.
index d48c571b7cbc2a67144a911ef0ed328d1a46803c..ba2e419d61a4e9c214b4cff94f1b2a34bd8f7741 100644 (file)
@@ -45,17 +45,15 @@ __asm__ ("                                          \n\
 /*@_init_PROLOG_BEGINS*/                               \n\
        .section .init, \"ax\", @progbits               \n\
        .globl  _init                                   \n\
-       .ent    _init                                   \n\
+       .type   _init,@function                         \n\
+       .usepv  _init,std                               \n\
 _init:                                                 \n\
        ldgp    $29, 0($27)                             \n\
        subq    $30, 16, $30                            \n\
        stq     $26, 0($30)                             \n\
        stq     $29, 8($30)                             \n\
-       .prologue 1                                     \n\
        bsr     $26, __pthread_initialize_minimal_internal !samegp \n\
        .align 3                                        \n\
-       .end    _init                                   \n\
-       .size   _init, 0                                \n\
 /*@_init_PROLOG_ENDS*/                                 \n\
                                                        \n\
 /*@_init_EPILOG_BEGINS*/                               \n\
@@ -69,16 +67,14 @@ _init:                                                      \n\
 /*@_fini_PROLOG_BEGINS*/                               \n\
        .section .fini, \"ax\", @progbits               \n\
        .globl  _fini                                   \n\
-       .ent    _fini                                   \n\
+       .type   _fini,@function                         \n\
+       .usepv  _fini,std                               \n\
 _fini:                                                 \n\
        ldgp    $29, 0($27)                             \n\
        subq    $30, 16, $30                            \n\
        stq     $26, 0($30)                             \n\
        stq     $29, 8($30)                             \n\
-       .prologue 1                                     \n\
        .align 3                                        \n\
-       .end    _fini                                   \n\
-       .size   _fini, 0                                \n\
 /*@_fini_PROLOG_ENDS*/                                 \n\
                                                        \n\
 /*@_fini_EPILOG_BEGINS*/                               \n\
index e286ef36cbcc74b7e25ec5bf8d9b87fc0629d2d2..cc054f9ef3658aecfe59ac0241618afa1fd759a7 100644 (file)
@@ -39,7 +39,7 @@
     long int __ret;                                                          \
     __ret = INTERNAL_SYSCALL (futex, __err, 4,                               \
                              (futexp), FUTEX_WAIT, (val), 0);                \
-    INTERNAL_SYSCALL_ERROR_P (__ret, __err)? -__ret: 0;                              \
+    INTERNAL_SYSCALL_ERROR_P (__ret, __err)? -__ret : __ret;                 \
   })
 
 #define lll_futex_timed_wait(futexp, val, timespec) \
@@ -48,7 +48,7 @@
     long int __ret;                                                          \
     __ret = INTERNAL_SYSCALL (futex, __err, 4,                               \
                              (futexp), FUTEX_WAIT, (val), (timespec));       \
-    INTERNAL_SYSCALL_ERROR_P (__ret, __err)? -__ret: 0;                              \
+    INTERNAL_SYSCALL_ERROR_P (__ret, __err)? -__ret : __ret;                 \
   })
 
 #define lll_futex_wake(futexp, nr) \
     long int __ret;                                                          \
     __ret = INTERNAL_SYSCALL (futex, __err, 4,                               \
                              (futexp), FUTEX_WAKE, (nr), 0);                 \
-    INTERNAL_SYSCALL_ERROR_P (__ret, __err)? -__ret: 0;                              \
+    INTERNAL_SYSCALL_ERROR_P (__ret, __err)? -__ret : __ret;                 \
   })
 
 #define lll_futex_requeue(futexp, nr_wake, nr_move, mutex) \
   ({                                                                         \
     INTERNAL_SYSCALL_DECL (__err);                                           \
     long int __ret;                                                          \
-                                                                             \
     __ret = INTERNAL_SYSCALL (futex, __err, 5,                               \
                              (futexp), FUTEX_REQUEUE, (nr_wake), (nr_move),  \
                              (mutex));                                       \
-    INTERNAL_SYSCALL_ERROR_P (__ret, __err)? -__ret: 0;                              \
+    INTERNAL_SYSCALL_ERROR_P (__ret, __err)? -__ret : __ret;                 \
   })
 
 /* Set *futex to 1 if it is 0, atomically.  Returns the old value */