mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 21:40:12 +00:00
00c2b3b91d
2005-12-16 Thorsten Kukuk <kukuk@suse.de> [BZ #1978] * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): Map more filesystem types to a string. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC. 2005-12-19 Jakub Jelinek <jakub@redhat.com> * locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the programs subdirectory. * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use PTR_DEMANGLE for PC if defined. * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise. * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined. * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. * sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use PTR_MANGLE for PC if defined. * sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise. Avoid call to __sigjmp_save if IS_IN_rtld. * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. (SYSCALL_ERROR_HANDLER): Add missing semicolons. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add SYSCALL_ERROR_HANDLER. 2005-12-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS. * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. Patch by Clint Adams. 2005-12-16 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and dependent definitions from the kernel header to sys/user.h and remove the #include of asm/user.h.
72 lines
2.4 KiB
ArmAsm
72 lines
2.4 KiB
ArmAsm
/* setjmp for 64 bit S/390, ELF version.
|
|
Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc.
|
|
Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
|
|
This file is part of the GNU C Library.
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Lesser General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with the GNU C Library; if not, write to the Free
|
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
|
02111-1307 USA. */
|
|
|
|
#include <sysdep.h>
|
|
#define _ASM
|
|
#define _SETJMP_H
|
|
#include <bits/setjmp.h>
|
|
|
|
/* We include the BSD entry points here as well but we make
|
|
them weak. */
|
|
ENTRY (setjmp)
|
|
.weak C_SYMBOL_NAME (setjmp)
|
|
lghi %r3,1 /* Second argument of one. */
|
|
j .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp. */
|
|
END (setjmp)
|
|
|
|
/* Binary compatibility entry point. */
|
|
ENTRY(_setjmp)
|
|
.weak C_SYMBOL_NAME (_setjmp)
|
|
slgr %r3,%r3 /* Second argument of zero. */
|
|
j .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp. */
|
|
END (setjmp)
|
|
libc_hidden_def (_setjmp)
|
|
|
|
ENTRY(__setjmp)
|
|
slgr %r3,%r3 /* Second argument of zero. */
|
|
j .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp. */
|
|
END (setjmp)
|
|
|
|
ENTRY(__sigsetjmp)
|
|
.Linternal_sigsetjmp:
|
|
#ifdef PTR_MANGLE
|
|
stmg %r6,%r13,0(%r2) /* Store registers in jmp_buf. */
|
|
lgr %r4,%r14
|
|
PTR_MANGLE (%r4, %r5)
|
|
stg %r4,64(%r2)
|
|
stg %r15,72(%r2)
|
|
#else
|
|
stmg %r6,%r15,0(%r2) /* Store registers in jmp_buf. */
|
|
#endif
|
|
std %f1,80(%r2)
|
|
std %f3,88(%r2)
|
|
std %f5,96(%r2)
|
|
std %f7,104(%r2)
|
|
#if defined NOT_IN_libc && defined IS_IN_rtld
|
|
/* In ld.so we never save the signal mask. */
|
|
lghi %r2,0
|
|
br %r14
|
|
#elif defined PIC
|
|
jg __sigjmp_save@PLT /* Branch to PLT of __sigsetjmp. */
|
|
#else
|
|
jg __sigjmp_save
|
|
#endif
|
|
END (__sigsetjmp)
|