This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [vms/committed] Do not make CODE sections writable
- From: Andreas Schwab <schwab at redhat dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Wed, 04 Aug 2010 11:05:35 +0200
- Subject: Re: [vms/committed] Do not make CODE sections writable
- References: <FABFF683-A9FF-41F3-A507-86F777B424A3@adacore.com>
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."