This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] PPC32 vfork support and misc small fixes
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Sun, 12 Jan 2003 20:13:44 +0100
- Subject: [PATCH] PPC32 vfork support and misc small fixes
Hi,
this patch adds PPC32 vfork support to glibc, modeled along the other arches.
Besides that the patch optimizes the INTERNAL_SYSCALL macro by using the new
ERR parameter, saving a few instructions on every use. The change to
syscall.S takes the possible extra register need for 64-bit argument
alignment into account.
BTW, since I'm the interim PPC32 maintainer, how do I subscribe to
libc-hacker?
Franz.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
Define for powerpc.
* sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment into
account.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
(INTERNAL_SYSCALL): Make use of ERR parameter.
(INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
(INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.
linuxthreads/
* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.