On Mon, 23 Aug 2021 13:59:21 -0400, Joseph Reichman wrote:

>The code is metal C I need to be able to access it from any address space 
>hence the move CSA 
>I could do a load to global but I would like to keep everything in one spot 
>
Interesting.  The only mention of relocatability in the Metal C Ref. is:
    • CSECT statement to identify the relocatable control section in the 
program.

Is thre more information elsewhere?


>>>> On Aug 23, 2021, at 12:10 PM, Charles Mills wrote:
>>>> Yes, it is trivial to write a program that relocates itself and is not 
>>>> reliant on loader relocation of address constants.
>>>> That was not my point. My point was that generally speaking programs are 
>>>> not written that way, so moving "some" program with MVCL is not likely to 
>>>> result in a usable image.
>>>>    ...

-- gil

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

Reply via email to