Skip to content

Conversation

@tltao
Copy link
Contributor

@tltao tltao commented Nov 24, 2025

Add additional functionality required on z/OS for lowerConstant, emitGlobalVariable, and emitGlobalAlias. The main addition is to properly apply the attribute to the various MCSymbols and also emit the correct MCExpr.

redstar and others added 8 commits November 7, 2025 18:30
Add support for writing relocations. Since the symbol numbering is only
available after the symbols are written, the relocations are collected
in a vector. At write time, the relocations are converted using the
symbols ids, compressed and written out. A relocation data record is
limited to 32K-1 bytes, which requires making sure that larger relocation
data is written into multiple records.
Information can be retrieved from `Fixup`.
…67939)

Non-binary output files from the compiler need the `OF_Text` flag set
for encoding conversion to be performed correctly on z/OS.

---------

Co-authored-by: Tony Tao <tonytao@ca.ibm.com>
@github-actions
Copy link

github-actions bot commented Nov 24, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@tltao tltao changed the title [GOFF] Implement lowerConstant/emitGlobalVariables/emitGlobalAlias [GOFF] Implement lowerConstant/emitGlobalVariables/emitGlobalAlias for z/OS Nov 24, 2025
@redstar redstar force-pushed the users/redstar/goffwriter-7 branch from 774cfd1 to a112e7b Compare November 28, 2025 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants