about summary refs log tree commit diff
path: root/gmon
diff options
context:
space:
mode:
Diffstat (limited to 'gmon')
-rw-r--r--gmon/Versions6
-rw-r--r--gmon/gmon.c1
2 files changed, 6 insertions, 1 deletions
diff --git a/gmon/Versions b/gmon/Versions
index d546690b8e..c39f1d1f74 100644
--- a/gmon/Versions
+++ b/gmon/Versions
@@ -7,9 +7,13 @@ libc {
     __monstartup; _mcleanup; __profile_frequency;
 
     # m*
-    moncontrol; monstartup;
+    monstartup;
 
     # p*
     profil; profil_counter;
   }
+  GLIBC_2.2 {
+    # m*
+    moncontrol;
+  }
 }
diff --git a/gmon/gmon.c b/gmon/gmon.c
index 51142cfb32..45fe6e8ac4 100644
--- a/gmon/gmon.c
+++ b/gmon/gmon.c
@@ -90,6 +90,7 @@ __moncontrol (mode)
       p->state = GMON_PROF_OFF;
     }
 }
+weak_alias (__moncontrol, moncontrol)
 
 
 void