Hello!

I use mingw to produce win32 executables.
It makes executable with '.rsrc' section flags 0xC0000040
which mean the section is writeable.

While I cannot see any reasons to keep resource section writeable,
I found two reasons to make it read-only:
1. for prevention of occasional write to rsrc section;
2. executables with read-only rsrc section consume less memory;
3. MS compiler+linker tools makes rsrc section R/O by default.

I don't know should this be considered as a bug, but any
comments are welcome.


PS. I did search Web, bugzilla, mailing lists and found nothing
about the subject.

The version of ld I use is:
>ld -v
>GNU ld version 2.15.94 20050118


Best regards, Michael


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to