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 "readonly" flag set for .rdata.
Try a binutils from CVS. There was some funkiness with readonly flags in binutils. I don't know if it infects the cygwin version of binutils or not. I keep rebuilding binutils in preparation for a new release but that effort invariably triggers someone sending an interesting new bug or bugfix to the binutils mailing list so I have been waiting for the code to settle down. cgf
