提交 452d1595 编写于 作者: R Richard Levitte

End assembler macro correctly.

On VAX, all global variables are accessed through functions, so skip
doing transfer entries for variables.

Forgot the looping gotos.
上级 0d197a83
...@@ -165,7 +165,7 @@ $ type sys$input:/out=mar: ...@@ -165,7 +165,7 @@ $ type sys$input:/out=mar:
.TRANSFER routine .TRANSFER routine
.MASK routine .MASK routine
JMP routine+2 JMP routine+2
.ENDM TRANSFER_ENTRY .ENDM FTRANSFER_ENTRY
; ;
; Place entries in own program section. ; Place entries in own program section.
; ;
...@@ -179,8 +179,8 @@ $ type sys$input:/out=mar: ...@@ -179,8 +179,8 @@ $ type sys$input:/out=mar:
; Allocate extra storage at end of vector to allow for expansion. ; Allocate extra storage at end of vector to allow for expansion.
; ;
$ write mar " .BLKB 32768-<.-",libvec,"_xfer> ; 64 pages total." $ write mar " .BLKB 32768-<.-",libvec,"_xfer> ; 64 pages total."
$ libwriter := write_vax_vtransfer_entry $! libwriter := write_vax_vtransfer_entry
$ gosub read_func_num $! gosub read_func_num
$ write mar " .END" $ write mar " .END"
$ close mar $ close mar
$ open/write opt 'libopt' $ open/write opt 'libopt'
...@@ -202,7 +202,7 @@ $ type sys$input:/out=opt: ...@@ -202,7 +202,7 @@ $ type sys$input:/out=opt:
PSECT_ATTR=$CHAR_STRING_CONSTANTS,NOWRT PSECT_ATTR=$CHAR_STRING_CONSTANTS,NOWRT
$ libwrch := opt $ libwrch := opt
$ libwriter := write_vax_psect_attr $ libwriter := write_vax_psect_attr
$ gosub read_var_num $ gosub read_func_num
$ close opt $ close opt
$ macro/obj='libobj' 'libmar' $ macro/obj='libobj' 'libmar'
$ link/map='libmap'/full/share='libgoal' 'libopt'/option $ link/map='libmap'/full/share='libgoal' 'libopt'/option
...@@ -266,6 +266,7 @@ $ falsesum = falsesum + 1 ...@@ -266,6 +266,7 @@ $ falsesum = falsesum + 1
$ endif $ endif
$ if plat_entry .eqs. "VMS" then truesum = truesum + 1 $ if plat_entry .eqs. "VMS" then truesum = truesum + 1
$ if plat_entry .eqs. "!VMS" then falsesum = falsesum + 1 $ if plat_entry .eqs. "!VMS" then falsesum = falsesum + 1
$ goto loop1
$ endif $ endif
$ endloop1: $ endloop1:
$!DEBUG!$ if info_platforms - "EXPORT_VAR_AS_FUNCTION" .nes. info_platforms $!DEBUG!$ if info_platforms - "EXPORT_VAR_AS_FUNCTION" .nes. info_platforms
...@@ -285,6 +286,7 @@ $ if alg_entry .nes. "," ...@@ -285,6 +286,7 @@ $ if alg_entry .nes. ","
$ then $ then
$ if alg_entry .eqs. "KRB5" then goto loop ! Special for now $ if alg_entry .eqs. "KRB5" then goto loop ! Special for now
$ if f$trnlnm("OPENSSL_NO_"+alg_entry) .nes. "" then goto loop $ if f$trnlnm("OPENSSL_NO_"+alg_entry) .nes. "" then goto loop
$ goto loop2
$ endif $ endif
$ endloop2: $ endloop2:
$ if info_platforms - "EXPORT_VAR_AS_FUNCTION" .nes. info_platforms $ if info_platforms - "EXPORT_VAR_AS_FUNCTION" .nes. info_platforms
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册