about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-11 22:50:16 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-11 22:50:16 +0000
commit6080ecdf3cfc34b45bdfc7669f03359adc77d959 (patch)
treeef17e0e804bc056180e9528b426ff469d430207b /nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
parentf05bf186c119ff068fd4e7ca85756b9439fc7778 (diff)
downloadglibc-6080ecdf3cfc34b45bdfc7669f03359adc77d959.tar.gz
glibc-6080ecdf3cfc34b45bdfc7669f03359adc77d959.tar.xz
glibc-6080ecdf3cfc34b45bdfc7669f03359adc77d959.zip
Update.
	* 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>
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h b/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
index 7c669bfb3e..d39425e0f4 100644
--- a/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
+++ b/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
@@ -30,14 +30,17 @@
 # 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