2010-08-04 Tristan Gingold <gingold@adacore.com>

* vms-alpha.c (alpha_vms_create_eisd_for_section): Do not make
	CODE sections writable.
This commit is contained in:
Tristan Gingold 2010-08-04 08:44:07 +00:00
parent 5369db0a6f
commit 2e09dbaeac
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-08-04 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (alpha_vms_create_eisd_for_section): Do not make
CODE sections writable.
2010-08-04 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (alpha_vms_add_lw_fixup): Renamed to ...

View file

@ -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))