Re: [PATCH] Entangle the C Program Heap initialization

2020-10-01 Thread Sebastian Huber
On 01/10/2020 17:51, Gedare Bloom wrote: On Thu, Oct 1, 2020 at 9:45 AM Joel Sherrill wrote: On Thu, Oct 1, 2020 at 10:07 AM Gedare Bloom wrote: This looks ok to me. I suppose eliminating the dependency requires the function pointer indirection. The only thing I don't see is why redefinitio

Re: [PATCH] Entangle the C Program Heap initialization

2020-10-01 Thread Sebastian Huber
On 01/10/2020 17:07, Gedare Bloom wrote: This looks ok to me. I suppose eliminating the dependency requires the function pointer indirection. The only thing I don't see is why redefinition of the _Workspace_Malloc_initializer is allowed in both wkspacemallocinitdefault.c and in confdefs/wkspace.

Re: [PATCH] Entangle the C Program Heap initialization

2020-10-01 Thread Gedare Bloom
On Thu, Oct 1, 2020 at 9:45 AM Joel Sherrill wrote: > > > > On Thu, Oct 1, 2020 at 10:07 AM Gedare Bloom wrote: >> >> This looks ok to me. I suppose eliminating the dependency requires the >> function pointer indirection. The only thing I don't see is why >> redefinition of the _Workspace_Malloc_

Re: [PATCH] Entangle the C Program Heap initialization

2020-10-01 Thread Joel Sherrill
On Thu, Oct 1, 2020 at 10:07 AM Gedare Bloom wrote: > This looks ok to me. I suppose eliminating the dependency requires the > function pointer indirection. The only thing I don't see is why > redefinition of the _Workspace_Malloc_initializer is allowed in both > wkspacemallocinitdefault.c and in

Re: [PATCH] Entangle the C Program Heap initialization

2020-10-01 Thread Gedare Bloom
This looks ok to me. I suppose eliminating the dependency requires the function pointer indirection. The only thing I don't see is why redefinition of the _Workspace_Malloc_initializer is allowed in both wkspacemallocinitdefault.c and in confdefs/wkspace.h. I would think that will cause an error fo