summaryrefslogtreecommitdiff
path: root/sysdeps/alpha/s_fabs.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/alpha/s_fabs.S')
-rw-r--r--sysdeps/alpha/s_fabs.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/alpha/s_fabs.S b/sysdeps/alpha/s_fabs.S
index 12c0abdf75..75976333f9 100644
--- a/sysdeps/alpha/s_fabs.S
+++ b/sysdeps/alpha/s_fabs.S
@@ -20,7 +20,15 @@ Cambridge, MA 02139, USA. */
#include <sysdep.h>
ENTRY(__fabs)
+#ifdef PROF
+ ldgp gp, 0(pv)
+ lda AT, _mcount
+ jsr AT, (AT), _mcount
+ .prologue 1
+#else
.prologue 0
+#endif
+
cpys $f31,$f16,$f0
ret