Re: zero-initialization of variables
- From: Nomen Nescio <nobody@xxxxxxxxx>
- Date: Thu, 25 Aug 2011 11:02:08 +0200 (CEST)
That was a very interesting post. You responded to several people in one
post though which is confusing.
I may not be quoting you accurately but you say in response to Glen SVC
forms of various macros don't load to previously GETMAINed areas. I'm not
sure what you were getting at there. LOAD uses SVC entry and both the ADDR
and ADRNAPF parameters load the module to storage previously GETMAINed by
the caller.
I found your comments interesting and I'd like to set up a test of your
assertion the linkage editor did not clear the load module and that this can
be proven by linking multiple load modules. Do you have a scenario in mind?
If so I'll try and run it on MVS 3.8J. You did not explain sufficiently why
the first (only) load module is created properly with zeros in uninitialized
areas and only 2nd thru nth load module has leftover data at least not that
I could understand. GETMAIN does not supply storage cleared to binary zeros
except under specific limited circumstances but perhaps the linkage editor
fulfilled those (full page or more of specific subpools, etc.) and the first
time it used the storage it was indeed clean.
Sorry for not quoting your post directly but my newsreader barfed on
your encoding when I tried to reply.
.
- Prev by Date: Re: OpenMP and allocation and intent(out)
- Next by Date: Re: Validity problems with 1964 Fortran code
- Previous by thread: Re: zero-initialization of variables
- Next by thread: Re: zero-initialization of variables
- Index(es):
Relevant Pages
|