summaryrefslogtreecommitdiff
path: root/vms/vms.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2012-10-19 22:16:17 -0500
committerCraig A. Berry <craigberry@mac.com>2012-10-20 13:38:10 -0500
commit2646d7b3acfbf62693aa89b516e662afa6eb89c1 (patch)
tree6f877c8018c5095b51cd17ae5bbb836c01182d7f /vms/vms.c
parentb3ecbfd38f4ef2dab1907a9460a7cc16dddd97cd (diff)
downloadperl-2646d7b3acfbf62693aa89b516e662afa6eb89c1.tar.gz
Tweak psect attributes in VMS initialization code.
noexe is the default and older compilers can't process it, so don't explicitly specify it. nopic is mandatory but non-default on VAX and is silently ignored on Alpha and Itanium, so go ahead and specify it explicitly.
Diffstat (limited to 'vms/vms.c')
-rw-r--r--vms/vms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vms/vms.c b/vms/vms.c
index e20150db69..c5967defbe 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -14190,7 +14190,7 @@ extern void (*vmsperl_unused_global_1)(void) = LIB$INITIALIZE;
* LIB$INITIALIZE section. In our case, the array only has one entry.
*/
#pragma extern_model save
-#pragma extern_model strict_refdef "LIB$INITIALIZE" gbl,noexe,nowrt,noshr,long
+#pragma extern_model strict_refdef "LIB$INITIALIZE" nopic,gbl,nowrt,noshr,long
extern void (* const vmsperl_unused_global_2[])() =
{
vmsperl_set_features,