diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-08-04 08:44:07 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-08-04 08:44:07 +0000 |
commit | 2e09dbaeac673bf3617b76860c0fda5ba2acb306 (patch) | |
tree | 741659d65866ae48dc366c138bae9a477e1290ea /bfd/vms-alpha.c | |
parent | 5369db0a6f2a8a0bec995672144ba15b5661dd72 (diff) | |
download | gdb-2e09dbaeac673bf3617b76860c0fda5ba2acb306.zip gdb-2e09dbaeac673bf3617b76860c0fda5ba2acb306.tar.gz gdb-2e09dbaeac673bf3617b76860c0fda5ba2acb306.tar.bz2 |
2010-08-04 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (alpha_vms_create_eisd_for_section): Do not make
CODE sections writable.
Diffstat (limited to 'bfd/vms-alpha.c')
-rw-r--r-- | bfd/vms-alpha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index 916c279..1f6e97f 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -2901,7 +2901,7 @@ alpha_vms_create_eisd_for_section (bfd *abfd, asection *sec) if (sec->flags & SEC_CODE) eisd->u.eisd.flags |= EISD__M_EXE; - if (!(sec->flags & SEC_READONLY)) + else if (!(sec->flags & SEC_READONLY)) eisd->u.eisd.flags |= EISD__M_WRT | EISD__M_CRF; if (!(sec->flags & SEC_LOAD)) |