summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/alpha/clone.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-08-21 21:19:29 +0000
committerEric Andersen <andersen@codepoet.org>2004-08-21 21:19:29 +0000
commit6e112da93a731085ff9b07f0804395bb3866925a (patch)
tree63320d9f5200bb3892ccfbcc55be84a5da535023 /libc/sysdeps/linux/alpha/clone.S
parente50f6d1c15483fc17323ecdd427f4a84c018f3af (diff)
Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both a
size and performance penalty to profiling applications this way, as well as Heisenberg effects, where the act of measuring changes what is measured. There are better tools for doing profiling, such as OProfile, that do not require gcc to instrument the application code. -Erik
Diffstat (limited to 'libc/sysdeps/linux/alpha/clone.S')
-rw-r--r--libc/sysdeps/linux/alpha/clone.S11
1 files changed, 0 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/alpha/clone.S b/libc/sysdeps/linux/alpha/clone.S
index b17a5ec68..396816184 100644
--- a/libc/sysdeps/linux/alpha/clone.S
+++ b/libc/sysdeps/linux/alpha/clone.S
@@ -44,16 +44,7 @@
__clone:
.frame $30 , 0, $26
-#ifdef PROF
- ldgp gp,0(pv)
- .set noat
- lda AT, _mcount
- jsr AT, (AT), _mcount
- .set at
- .prologue 1
-#else
.prologue 0
-#endif
/* Sanity check arguments. */
ldiq v0,EINVAL
@@ -78,10 +69,8 @@ __clone:
/* Something bad happened -- no child created */
$error:
-#ifndef PROF
br gp,1f
1: ldgp gp,0(gp)
-#endif
jmp zero,__syscall_error
.end __clone