diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-10-26 13:28:28 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-10-26 13:28:28 +0200 |
commit | e863cce57bff6cb795e6aad745ddf6235bca21ce (patch) | |
tree | f78710ceea98240dd4676f6891d68d05241de1db /ChangeLog | |
parent | 261e6758e7229aa4c17546b52b002ca9f1b0a67d (diff) | |
download | glibc-e863cce57bff6cb795e6aad745ddf6235bca21ce.zip glibc-e863cce57bff6cb795e6aad745ddf6235bca21ce.tar.gz glibc-e863cce57bff6cb795e6aad745ddf6235bca21ce.tar.bz2 |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,5 +1,21 @@ 2016-10-26 Florian Weimer <fweimer@redhat.com> + [BZ #19473] + * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove + declarations. + * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove + weak aliases. + * malloc/hooks.c (__malloc_get_state): Remove definition. + (malloc_get_state): New stub implementation as + compatibility symbol. + (malloc_set_state): Rename from __malloc_set_state. Turn into + compat symbol. + * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses + malloc_set_state. + * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic. + +2016-10-26 Florian Weimer <fweimer@redhat.com> + * iconvdata/iso646.c (enum variant): Drop illegal_var. (names): Turn into concatenation of strings. (gconv_init): Adapt iteration over names. |