From 778e0ef71de6430ca6af4410453e675bd96b040f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 16 Jul 2001 07:32:48 +0000 Subject: Update. 2001-07-15 Ulrich Drepper * malloc/obstack.c: Define __attribute__ for non-gcc compilers. Patch by Jim Meyering . 2001-07-12 Martin Schwidefsky * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder fields in the sigaction struct to match the definition in the kernel. 2001-07-12 Martin Schwidefsky * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the test for ENOSYS. 2001-07-12 Martin Schwidefsky * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores to the entries in the __jmp_buf structure. * sysdeps/s390/s390-64/bits/setjmp.h: Likewise. 2001-07-12 Martin Schwidefsky * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks (> 64K) and a mvc loop for small blocks. * sysdeps/s390/s390-32/memcpy.S: Likewise. * sysdeps/s390/s390-64/bcopy.S: Likewise. * sysdeps/s390/s390-64/memcpy.S: Likewise. --- sysdeps/s390/s390-32/bits/setjmp.h | 6 +++--- sysdeps/s390/s390-64/bits/setjmp.h | 4 ++-- sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S | 2 +- sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h | 3 +++ 4 files changed, 9 insertions(+), 6 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/s390/s390-32/bits/setjmp.h b/sysdeps/s390/s390-32/bits/setjmp.h index 07ca865..fa6e03b 100644 --- a/sysdeps/s390/s390-32/bits/setjmp.h +++ b/sysdeps/s390/s390-32/bits/setjmp.h @@ -36,10 +36,10 @@ typedef struct { /* We save registers 6-15. */ - long int gregs[10]; + long int __gregs[10]; /* We save fpu registers 4 and 6. */ - long fpregs[4]; + long __fpregs[4]; } __jmp_buf[1]; #endif @@ -47,6 +47,6 @@ typedef struct { /* Test if longjmp to JMPBUF would unwind the frame containing a local variable at ADDRESS. */ #define _JMPBUF_UNWINDS(jmpbuf, address) \ - ((int) (address) < (jmpbuf)->gregs[__JB_GPR15]) + ((int) (address) < (jmpbuf)->__gregs[__JB_GPR15]) #endif /* __S390_SETJMP_H__ */ diff --git a/sysdeps/s390/s390-64/bits/setjmp.h b/sysdeps/s390/s390-64/bits/setjmp.h index 5e77572..4cb4d79 100644 --- a/sysdeps/s390/s390-64/bits/setjmp.h +++ b/sysdeps/s390/s390-64/bits/setjmp.h @@ -36,10 +36,10 @@ typedef struct { /* We save registers 6-15. */ - long int gregs[10]; + long int __gregs[10]; /* We save fpu registers 4 and 6. */ - long fpregs[8]; + long __fpregs[8]; } __jmp_buf[1]; #endif diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S b/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S index 35338aa..c0652ca 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S +++ b/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S @@ -51,7 +51,7 @@ ENTRY(__mmap64) svc SYS_ify(mmap2) /* Do the system call trap. */ #ifndef __ASSUME_MMAP2_SYSCALL - chi %r0,-ENOSYS + chi %r2,-ENOSYS je 1f #endif diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h b/sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h index fbbfd30..43738b2 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h @@ -43,6 +43,9 @@ struct sigaction /* Special flags. */ unsigned long int sa_flags; + /* Restore handler. */ + void (*sa_restorer) (void); + /* Additional set of signals to be blocked. */ __sigset_t sa_mask; }; -- cgit v1.1