Re: binutils >= 2.41 makes .rsrc section read-only

2024-02-21 Thread Corinna Vinschen via Cygwin
On Feb 21 09:27, Corinna Vinschen via Cygwin wrote: > On Feb 20 21:39, Jeremy Drake via Cygwin wrote: > > On Tue, 20 Feb 2024, Corinna Vinschen wrote: > > > > > On Feb 19 21:41, Jeremy Drake via Cygwin wrote: > > > > 1) is there actually a good reason that _cygheap_start is in the .rsrc > > > >

Re: binutils >= 2.41 makes .rsrc section read-only

2024-02-21 Thread Corinna Vinschen via Cygwin
On Feb 20 21:39, Jeremy Drake via Cygwin wrote: > On Tue, 20 Feb 2024, Corinna Vinschen wrote: > > > On Feb 19 21:41, Jeremy Drake via Cygwin wrote: > > > 1) is there actually a good reason that _cygheap_start is in the .rsrc and > > > not the .cygheap section? > > > > As you know we got rid of

Re: binutils >= 2.41 makes .rsrc section read-only

2024-02-20 Thread Jeremy Drake via Cygwin
On Tue, 20 Feb 2024, Corinna Vinschen wrote: > On Feb 19 21:41, Jeremy Drake via Cygwin wrote: > > 1) is there actually a good reason that _cygheap_start is in the .rsrc and > > not the .cygheap section? > > As you know we got rid of this way to define the cygheap, but > _cygheap_start was just

Re: binutils >= 2.41 makes .rsrc section read-only

2024-02-20 Thread Corinna Vinschen via Cygwin
On Feb 19 21:41, Jeremy Drake via Cygwin wrote: > This is probably the right thing to do, but breaks building msys2-runtime > (read: cygwin) 3.3, because the _cygheap_start symbol is actually in the > .rsrc section and code very early attempts to memset _cygheap_start. > Couple of questions: > >

binutils >= 2.41 makes .rsrc section read-only

2024-02-19 Thread Jeremy Drake via Cygwin
This is probably the right thing to do, but breaks building msys2-runtime (read: cygwin) 3.3, because the _cygheap_start symbol is actually in the .rsrc section and code very early attempts to memset _cygheap_start. Couple of questions: 1) is there actually a good reason that _cygheap_start is in