Tweak psect attributes in VMS initialization code.
authorCraig A. Berry <craigberry@mac.com>
Sat, 20 Oct 2012 03:16:17 +0000 (22:16 -0500)
committerCraig A. Berry <craigberry@mac.com>
Sat, 20 Oct 2012 18:38:10 +0000 (13:38 -0500)
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

index e20150d..c5967de 100644 (file)
--- 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,