[PATCH v2 03/10] Move glibc.malloc.check implementation into its own file
Siddhesh Poyarekar
siddhesh@sourceware.org
Wed Jun 30 15:56:57 GMT 2021
On 6/30/21 9:12 PM, Andreas Schwab wrote:
> On Jun 30 2021, Siddhesh Poyarekar via Libc-alpha wrote:
>
>> diff --git a/malloc/Makefile b/malloc/Makefile
>> index c8256abbbf..9b92f96813 100644
>> --- a/malloc/Makefile
>> +++ b/malloc/Makefile
>> @@ -272,6 +272,7 @@ $(objpfx)memusage: memusage.sh
>>
>> # Extra dependencies
>> $(foreach o,$(all-object-suffixes),$(objpfx)malloc$(o)): arena.c hooks.c
>> +hooks.c: malloc-check.c
>
> This is wrong. The file hooks.c is not a generated file, and does not
> depend on malloc-check.c.
Hmm, we generate such source dependencies in the o.d files. Anyway,
I'll add the dependency on malloc.o then.
Thanks,
Siddhesh
More information about the Libc-alpha
mailing list