summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-10-26 13:28:28 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-10-26 13:28:28 +0200
commite863cce57bff6cb795e6aad745ddf6235bca21ce (patch)
treef78710ceea98240dd4676f6891d68d05241de1db /NEWS
parent261e6758e7229aa4c17546b52b002ca9f1b0a67d (diff)
downloadglibc-e863cce57bff6cb795e6aad745ddf6235bca21ce.tar.gz
glibc-e863cce57bff6cb795e6aad745ddf6235bca21ce.tar.xz
glibc-e863cce57bff6cb795e6aad745ddf6235bca21ce.zip
malloc: Remove malloc_get_state, malloc_set_state [BZ #19473]
After the removal of __malloc_initialize_hook, newly compiled
Emacs binaries are no longer able to use these interfaces.
malloc_get_state is only used during the Emacs build process,
so we provide a stub implementation only.  Existing Emacs binaries
will not call this stub function, but still reference the symbol.

The rewritten tst-mallocstate test constructs a dumped heap
which should approximates what existing Emacs binaries pass
to glibc malloc.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 897f1cfa77..ea1a0e0371 100644
--- a/NEWS
+++ b/NEWS
@@ -67,6 +67,14 @@ Version 2.25
   for the Linux quota interface which predates kernel version 2.4.22 has
   been removed.
 
+* The malloc_get_state and malloc_set_state functions have been removed.
+  Already-existing binaries that dynamically link to these functions will
+  get a hidden implementation in which malloc_get_state is a stub.  As far
+  as we know, these functions are used only by GNU Emacs and this change
+  will not adversely affect already-built Emacs executables.  Any undumped
+  Emacs executables, which normally exist only during an Emacs build, should
+  be rebuilt by re-running “./configure; make” in the Emacs build tree.
+
 * The “ip6-dotint” and “no-ip6-dotint” resolver options, and the
   corresponding RES_NOIP6DOTINT flag from <resolv.h> have been removed.
   “no-ip6-dotint” had already been the default, and support for the