https://sourceware.org/bugzilla/show_bug.cgi?id=30142
--- Comment #1 from Nick Clifton <nickc at redhat dot com> --- Created attachment 14815 --> https://sourceware.org/bugzilla/attachment.cgi?id=14815&action=edit Proposed patch Hi Pali, Please could you try out this patch and see if it works for you ? The fault lies with the windres program, not the linker. The windres program is setting the IMAGE_SCN_MEM_WRITE flag when it creates the .rsrc section, and the linker is then preserving this flag when it runs. So the patch fixes windres so that it no longer sets the flag, and this in turn means that the linked executable will have a read-only .rsrc section. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug.