This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v1.1] Deprecate malloc_(sg)et state.
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: Roland McGrath <roland at hack dot frob dot com>, <libc-alpha at sourceware dot org>
- Date: Mon, 24 Mar 2014 12:41:52 +0000
- Subject: Re: [PATCH v1.1] Deprecate malloc_(sg)et state.
- Authentication-results: sourceware.org; auth=none
- References: <20140304123542 dot GA12375 at domone dot podge> <20140314170541 dot EF58A74495 at topped-with-meat dot com> <20140324092658 dot GA3973 at domone dot podge>
On Mon, 24 Mar 2014, Ondrej Bilka wrote:
> * malloc/malloc.c: Make malloc_get_state and malloc_set_state
> compatibility symbols.
> * malloc/tst-mallocstate.c: Remove.
This doesn't seem like a complete patch. The definitions of these
functions in hooks.c shouldn't be built at all unless SHLIB_COMPAT (libc,
GLIBC_2_0, GLIBC_2_20) - if they're built, they're wrongly available for
static linking.
--
Joseph S. Myers
joseph@codesourcery.com