[vms/committed] Do not make CODE sections writable

Andreas Schwab schwab@redhat.com
Wed Aug 4 09:08:00 GMT 2010


Tristan Gingold <gingold@adacore.com> writes:

> a one word patch to prevent CODE sections from being writable in bfd outputs.

Why?  In principle, there should be nothing wrong with having a writable
code section.  If SEC_READONLY isn't set when it should it looks like a
bug elsewhere.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."



More information about the Binutils mailing list