On Sun, 7 Sep 2025 05:12:35 -0500, Paul Edwards <[email protected]> wrote:

>@@T56   EQU     *
>        NOPR    0
>        NOPR    0
>        BAL     15,@@U56
>        DC      V(printf)
>        DC      A(0)
>        DS      0H
>@@U56   EQU     *
>        LG      15,0(,15)
>        BALR    14,15

Oh - I should have highlighted something.

Although as370 doesn't support VD, we now have a
tool that will convert the V reference above, plus
another 4 NUL bytes, into a VD reference, prior to
giving to pdld.

The printf address is actually shuffled to replace that
A(0) in the final executable, and then it is relocated
at load time. There is no law against running 64-bit
executables within the first 4 GiB, so I make use of
that at load time.

BFN. Paul.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to