From e863cce57bff6cb795e6aad745ddf6235bca21ce Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 26 Oct 2016 13:28:28 +0200 Subject: 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. --- NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'NEWS') 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 have been removed. “no-ip6-dotint” had already been the default, and support for the -- cgit v1.2.1