From 3ec64a67198c3b1047f9a4fad4d5b1a86e5da49b Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 2 May 1998 00:16:05 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/alpha/clone.S: Correct .prologue usage. --- sysdeps/unix/sysv/linux/alpha/clone.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/alpha/clone.S b/sysdeps/unix/sysv/linux/alpha/clone.S index aab4e590a55..738b3be6cb7 100644 --- a/sysdeps/unix/sysv/linux/alpha/clone.S +++ b/sysdeps/unix/sysv/linux/alpha/clone.S @@ -30,12 +30,15 @@ ENTRY(__clone) .frame sp,0,ra,0 #ifdef PROF + ldgp $29,0($27) .set noat lda AT, _mcount jsr AT, (AT), _mcount .set at -#endif .prologue 1 +#else + .prologue 0 +#endif /* Sanity check arguments. */ ldiq v0,EINVAL @@ -60,8 +63,10 @@ ENTRY(__clone) /* Something bad happened -- no child created */ $error: +#ifndef PROF br gp,1f 1: ldgp gp,0(gp) +#endif jmp zero,__syscall_error END(__clone) -- 2.47.2