summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-07-07 19:14:00 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-07-08 18:47:21 +0530
commitb8a19968b0ad928772ab282133a9374d135f7438 (patch)
tree7076aa44cc0ce03f93acc39abcd27fa5254b5807
parent9ed48feed8c268e98baf00f3608d85dafb8215f3 (diff)
downloadglibc-b8a19968b0ad928772ab282133a9374d135f7438.tar.gz
glibc-b8a19968b0ad928772ab282133a9374d135f7438.tar.xz
glibc-b8a19968b0ad928772ab282133a9374d135f7438.zip
Move mcheck symbol from stdlib to malloc
It is defined in malloc, so it belongs there.  Verified on x86_64 that
the built libraries are identical despite this change.
-rw-r--r--malloc/Versions2
-rw-r--r--stdlib/Versions2
2 files changed, 2 insertions, 2 deletions
diff --git a/malloc/Versions b/malloc/Versions
index 62e4698a08..470a940666 100644
--- a/malloc/Versions
+++ b/malloc/Versions
@@ -26,7 +26,7 @@ libc {
 
     # m*
     mallinfo; malloc; malloc_get_state; malloc_set_state; malloc_stats;
-    malloc_trim; malloc_usable_size; mallopt; memalign; mprobe; mtrace;
+    malloc_trim; malloc_usable_size; mallopt; mcheck; memalign; mprobe; mtrace;
     muntrace;
 
     # o*
diff --git a/stdlib/Versions b/stdlib/Versions
index 9e665d4c26..5e9099a153 100644
--- a/stdlib/Versions
+++ b/stdlib/Versions
@@ -40,7 +40,7 @@ libc {
 
     # m*
     mblen; mbrlen; mbrtowc; mbsinit; mbsnrtowcs; mbsrtowcs; mbstowcs;
-    mbtowc; mcheck; mcount; mrand48; mrand48_r;
+    mbtowc; mcount; mrand48; mrand48_r;
 
     # n*
     nrand48; nrand48_r;