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