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