From 2646d7b3acfbf62693aa89b516e662afa6eb89c1 Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Fri, 19 Oct 2012 22:16:17 -0500 Subject: [PATCH] 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. --- vms/vms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vms/vms.c b/vms/vms.c index e20150d..c5967de 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, -- 2.7.4