about summary refs log tree commit diff
path: root/sysdeps/alpha/stpcpy.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/alpha/stpcpy.S')
-rw-r--r--sysdeps/alpha/stpcpy.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/alpha/stpcpy.S b/sysdeps/alpha/stpcpy.S
index 0dc44d353a..9c2668b535 100644
--- a/sysdeps/alpha/stpcpy.S
+++ b/sysdeps/alpha/stpcpy.S
@@ -27,6 +27,10 @@ Cambridge, MA 02139, USA.  */
 
 ENTRY(__stpcpy)
 	ldgp	gp, 0(pv)
+#ifdef PROF
+	lda	AT, _mcount
+	jsr	AT, (AT), _mcount
+#endif
 	.prologue 1
 
 	jsr	t9, __stxcpy	# do the work of the copy