about summary refs log tree commit diff
path: root/gmon
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-19 02:40:21 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-19 02:40:21 +0000
commit691738652b7c0ecdf82d215f7e746c0b53cc6b09 (patch)
tree708e53369005216687f1a879fe9dd36d86d0ad56 /gmon
parent17ef6f595218e02e9fefd9a11c3355b136897d35 (diff)
downloadglibc-691738652b7c0ecdf82d215f7e746c0b53cc6b09.tar.gz
glibc-691738652b7c0ecdf82d215f7e746c0b53cc6b09.tar.xz
glibc-691738652b7c0ecdf82d215f7e746c0b53cc6b09.zip
Update.
	* gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
	* gmon/Versions: Move moncontrol to GLIBC_2.2.
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