.rdata section in Cygwin executables?

2004-03-12 Thread Joe Buehler
The emacs recompile fails because there is a section in the initially built emacs.exe named .rdata that the unexec() code for Cygwin is not expecting. The section appears to have something to do with exception handling and is only 1k in size. I'm reading up on this at the moment, but a couple

Re: .rdata section in Cygwin executables?

2004-03-12 Thread Egor Duda
Joe Buehler wrote: The emacs recompile fails because there is a section in the initially built emacs.exe named .rdata that the unexec() code for Cygwin is not expecting. The section appears to have something to do with exception handling and is only 1k in size. .rdata is a section where read-only

Re: .rdata section in Cygwin executables?

2004-03-12 Thread Joe Buehler
Egor Duda wrote: You may write your own linker script so that all rdata section will be put to .data when emacs.exe is linked, but again, it doesn't look as the proper way to deal with the problem. According to objdump, there is no readonly flag set for .rdata. Does Windows know about the name

Re: .rdata section in cygwin executables?

2004-03-12 Thread Christopher Faylor
On Fri, Mar 12, 2004 at 10:28:02AM -0500, Joe Buehler wrote: Egor Duda wrote: You may write your own linker script so that all rdata section will be put to .data when emacs.exe is linked, but again, it doesn't look as the proper way to deal with the problem. According to objdump, there is no

Re: .rdata section in Cygwin executables?

2004-03-12 Thread Ralf Habacker
On Friday 12 March 2004 15:51, Egor Duda wrote: Joe Buehler wrote: The emacs recompile fails because there is a section in the initially built emacs.exe named .rdata that the unexec() code for Cygwin is not expecting. The section appears to have something to do with exception handling