about summary refs log tree commit diff
path: root/sysdeps/alpha/strcpy.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/alpha/strcpy.S')
-rw-r--r--sysdeps/alpha/strcpy.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/alpha/strcpy.S b/sysdeps/alpha/strcpy.S
index 2975181919..823476f750 100644
--- a/sysdeps/alpha/strcpy.S
+++ b/sysdeps/alpha/strcpy.S
@@ -27,6 +27,10 @@ Cambridge, MA 02139, USA.  */
 
 ENTRY(strcpy)
 	ldgp	gp, 0(pv)
+#ifdef PROF
+	lda	AT, _mcount
+	jsr	AT, (AT), _mcount
+#endif
 	.prologue 1
 
 	mov	a0, v0		# set up return value