malloc hooks
Szabolcs Nagy
szabolcs.nagy@arm.com
Thu Jun 8 14:15:00 GMT 2017
On 08/06/17 15:05, Florian Weimer wrote:
> On 06/08/2017 03:39 PM, Szabolcs Nagy wrote:
>> there is some ifdef magic in malloc/hooks.c to
>> only define malloc_get_state etc if it's needed
>> for abi compat:
>>
>> #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_25)
>>
>> but there is tst-mallocstate.c which uses these
>> functions unconditionally.
>>
>> i wonder how that is supposed to work for new
>> targets (e.g. aarch64 ilp32)
>
> We currently do not have SHLIB_COMPAT support at the Makefile level. If
> you have a port that bumps the compat level past 2.25, I can probably
> come up with an implementation of that.
>
is it ok to ifdef out the test code if compat level >2.25 ?
then there is no need for makefile changes
More information about the Libc-alpha
mailing list