about summary refs log tree commit diff
path: root/sysdeps/alpha/s_copysign.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/alpha/s_copysign.S')
-rw-r--r--sysdeps/alpha/s_copysign.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/alpha/s_copysign.S b/sysdeps/alpha/s_copysign.S
index 95eb608666..739d3deb79 100644
--- a/sysdeps/alpha/s_copysign.S
+++ b/sysdeps/alpha/s_copysign.S
@@ -20,7 +20,15 @@ Cambridge, MA 02139, USA.  */
 #include <sysdep.h>
 
 ENTRY(__copysign)
+#ifdef PROF
+	ldgp	gp, 0(pv)
+	lda	AT, _mcount
+	jsr	AT, (AT), _mcount
+	.prologue 1
+#else
 	.prologue 0
+#endif
+
 	cpys	$f17,$f16,$f0
 	ret