John Ehrman pointed this out a while back... I was surprised myself. If you list the RLD map, you can see that there are indeed entries generated for cross-section relative references.
btw, HLASM does warn about them. I'm not sure why; maybe because the old linkage editor doesn't support them (although that's barely relevant these days). sas On Fri, Oct 3, 2014 at 10:34 AM, Ed Jaffe <[email protected]> wrote: > On 10/3/2014 6:22 AM, Robert A. Rosenberg wrote: > >> I can see how the displacement between CSECTS can be computed by the >> Assembler but this displacement can be wrong once the object deck is >> link-edited/bound since the order of the CSECTS are not fixed. Unless the >> LARL references RLDs (and thus adjusts for the location in the program >> object or load module (as occurs with ACONS) any reference in one CSECT to >> a location in another CSECT can be wrong. >> > > Cross-CSECT relative addressing, adjusted as needed across module rebind, > has been supported since z/OS 1.8. > > -- > Edward E Jaffe > Phoenix Software International, Inc > 831 Parkview Drive North > El Segundo, CA 90245 > http://www.phoenixsoftware.com/ > -- sas
