about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha/clone.S
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1998-01-26 22:04:53 +0000
committerRichard Henderson <rth@redhat.com>1998-01-26 22:04:53 +0000
commit0b833ff44bd66007da7f86aa98cc87519d31e1e3 (patch)
treef10a4e7f26b41e0d60738aea64df433bf9708451 /sysdeps/unix/sysv/linux/alpha/clone.S
parent2498cdcc850fc379d01edc6310270bbd7287d758 (diff)
downloadglibc-0b833ff44bd66007da7f86aa98cc87519d31e1e3.tar.gz
glibc-0b833ff44bd66007da7f86aa98cc87519d31e1e3.tar.xz
glibc-0b833ff44bd66007da7f86aa98cc87519d31e1e3.zip
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration of the trampoline function into the macro. * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change; kernel 2.1.82 has this fixed. * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
1998-01-26  Richard Henderson  <rth@cygnus.com>

	* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
	of the trampoline function into the macro.
	* sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
	kernel 2.1.82 has this fixed.

	* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
	* sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/clone.S')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/clone.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/clone.S b/sysdeps/unix/sysv/linux/alpha/clone.S
index 3f097fe068..930e379296 100644
--- a/sysdeps/unix/sysv/linux/alpha/clone.S
+++ b/sysdeps/unix/sysv/linux/alpha/clone.S
@@ -28,14 +28,16 @@
 
         .text
 ENTRY(__clone)
-	.frame	sp,0,ra,0
 #ifdef PROF
+	ldgp	gp,0(pv)
 	.set noat
 	lda	AT, _mcount
 	jsr	AT, (AT), _mcount
 	.set at
-#endif
 	.prologue 1
+#else
+	.prologue 0
+#endif
 
 	/* Sanity check arguments.  */
 	ldiq	v0,EINVAL