]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 11 Jul 2003 22:50:16 +0000 (22:50 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 11 Jul 2003 22:50:16 +0000 (22:50 +0000)
* sysdeps/unix/sysv/linux/sigwait.c: Include string.h.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sleep.c (__sleep): Cast value to unsigned
int before assigning to max to avoid warnings.

2003-07-11  Jakub Jelinek  <jakub@redhat.com>

ChangeLog
nptl/ChangeLog
nptl/Makefile
nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
sysdeps/unix/sysv/linux/sigtimedwait.c
sysdeps/unix/sysv/linux/sigwait.c
sysdeps/unix/sysv/linux/sigwaitinfo.c
sysdeps/unix/sysv/linux/sleep.c

index d979bd6a81cf14b6ddf1c1f5fa4954ddd1fefcd8..a11bb66bcd9f5d147d4ece208a18dbcd259abf73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-07-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/sigwait.c: Include string.h.
+       * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
+       * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
+       * sysdeps/unix/sysv/linux/sleep.c (__sleep): Cast value to unsigned
+       int before assigning to max to avoid warnings.
+
 2003-07-11  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Add
index 93540dfa6680268fbd2ca9bf8d094e9a7623264d..f00ba090572b13f638afe3add29fd9bf72cdc24e 100644 (file)
@@ -1,3 +1,14 @@
+2003-07-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * Makefile (CFLAGS-pthread_once.c): Add -fexceptions
+       -fasynchronous-unwind-tables.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
+       (PSEUDO): Add cfi directives.
+       * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO):
+       Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO):
+       Likewise.
+
 2003-07-08  Jakub Jelinek  <jakub@redhat.com>
 
        * pthreadP.h (__pthread_unwind_next, __pthread_register_cancel,
index a261efbb6d5dec55ac68a597adb0c63951c5327b..b562e6618cc6275f0dcfe56c12f4a2f332512dbd 100644 (file)
@@ -160,6 +160,7 @@ CFLAGS-forward.c = -fexceptions
 CFLAGS-pthread_testcancel.c = -fexceptions
 CFLAGS-pthread_join.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-pthread_timedjoin.c = -fexceptions -fasynchronous-unwind-tables
+CFLAGS-pthread_once.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-pthread_cond_wait.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-pthread_cond_timedwait.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sem_wait.c = -fexceptions -fasynchronous-unwind-tables
index 7c669bfb3efb2f4bac8efa26771d8415df09bee5..d39425e0f4c2f65a9f3d99465b8c139a033d6f65 100644 (file)
 # define PSEUDO(name, syscall_name, args)                              \
   .section ".text";                                                    \
   ENTRY (name)                                                         \
+    cfi_startproc;                                                     \
     SINGLE_THREAD_P;                                                   \
     bne- .Lpseudo_cancel;                                              \
     DO_CALL (SYS_ify (syscall_name));                                  \
     PSEUDO_RET;                                                                \
   .Lpseudo_cancel:                                                     \
     stwu 1,-48(1);                                                     \
+    cfi_adjust_cfa_offset (48);                                                \
     mflr 9;                                                            \
     stw 9,52(1);                                                       \
+    cfi_offset (lr, 4);                                                        \
     DOCARGS_##args;    /* save syscall args around CENABLE.  */        \
     CENABLE;                                                           \
     stw 3,16(1);       /* store CENABLE return value (MASK).  */       \
@@ -53,7 +56,8 @@
     lwz 3,8(1);                                                                \
     mtlr 4;                                                            \
     mtcr 0;                                                            \
-    addi 1,1,48;
+    addi 1,1,48;                                                       \
+    cfi_endproc;
 
 # define DOCARGS_0
 # define UNDOCARGS_0
index 80671df08adbaab1e5b0a3e3a356b9f12b2668da..1f7cff8c41cc782308f67322ff0cc35dab615c05 100644 (file)
 # define PSEUDO(name, syscall_name, args)                                    \
        .text;                                                                \
 L(pseudo_cancel):                                                            \
+       cfi_startproc;                                                        \
        STM_##args                                                            \
        stm     %r12,%r15,48(%r15);                                           \
+       cfi_offset (%r15, -36);                                               \
+       cfi_offset (%r14, -40);                                               \
+       cfi_offset (%r13, -44);                                               \
+       cfi_offset (%r12, -48);                                               \
        lr      %r14,%r15;                                                    \
        ahi     %r15,-96;                                                     \
+       cfi_adjust_cfa_offset (96);                                           \
        st      %r14,0(%r15);                                                 \
        basr    %r13,0;                                                       \
 0:     l       %r1,1f-0b(%r13);                                              \
@@ -46,6 +52,7 @@ L(pseudo_cancel):                                                           \
        bas     %r14,0(%r1,%r13);                                             \
        lr      %r2,%r12;                                                     \
        lm      %r12,%r15,48+96(%r15);                                        \
+       cfi_endproc;                                                          \
        j       L(pseudo_check);                                              \
 1:     .long   CENABLE-0b;                                                   \
 2:     .long   CDISABLE-0b;                                                  \
index f3722a0d8f817784757fe4e5da0c46293cce7551..4d53311f9df0482e41ebf94b333aeb34b2bc49ed 100644 (file)
 # define PSEUDO(name, syscall_name, args)                                    \
        .text;                                                                \
 L(pseudo_cancel):                                                            \
+       cfi_startproc;                                                        \
        STM_##args                                                            \
        stmg    %r13,%r15,104(%r15);                                          \
+       cfi_offset (%r15,-40);                                                \
+       cfi_offset (%r14,-48);                                                \
+       cfi_offset (%r13,-56);                                                \
        lgr     %r14,%r15;                                                    \
        aghi    %r15,-160;                                                    \
+       cfi_adjust_cfa_offset (160);                                          \
        stg     %r14,0(%r15);                                                 \
        brasl   %r14,CENABLE;                                                 \
        lgr     %r0,%r2;                                                      \
@@ -43,6 +48,7 @@ L(pseudo_cancel):                                                           \
        brasl   %r14,CDISABLE;                                                \
        lgr     %r2,%r13;                                                     \
        lmg     %r13,%r15,104+160(%r15);                                      \
+       cfi_endproc;                                                          \
        j       L(pseudo_check);                                              \
 ENTRY(name)                                                                  \
        SINGLE_THREAD_P                                                       \
index a016b71ec7ddbb04db65a2f44633db6872d8be34..34e986a6af1709ddecdc21441e3d8a6260ba4049 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <errno.h>
 #include <signal.h>
+#include <string.h>
 
 #include <sysdep-cancel.h>
 #include <sys/syscall.h>
index 49371cfdfd09eb862639176d39ac0814748d78ad..e92061d215dc00912bf4486d5bede2a12ff21c22 100644 (file)
@@ -20,6 +20,7 @@
 #include <signal.h>
 #define __need_NULL
 #include <stddef.h>
+#include <string.h>
 
 #include <sysdep-cancel.h>
 #include <sys/syscall.h>
index 56cf0c96bb3b3eb9357bd9c9248419550afe251f..73c20d1115435850f9a3620b2a3fe2d5802a2539 100644 (file)
@@ -20,6 +20,7 @@
 #include <signal.h>
 #define __need_NULL
 #include <stddef.h>
+#include <string.h>
 
 #include <sysdep-cancel.h>
 #include <sys/syscall.h>
index ade9ff4116c6873e9d631c7aec41ff1309ef75d5..d94e4f62fd4d605d3a5f944716903c58060f3ef1 100644 (file)
@@ -40,7 +40,8 @@ cl (void *arg)
 unsigned int
 __sleep (unsigned int seconds)
 {
-  const unsigned int max = ((unsigned long int) (~((time_t) 0))) >> 1;
+  const unsigned int max
+    = (unsigned int) (((unsigned long int) (~((time_t) 0))) >> 1);
   struct timespec ts;
   sigset_t set, oset;
   unsigned int result;
This page took 0.096317 seconds and 5 git commands to generate.