diff options
author | Yusra Syeda <yusra.syeda@ibm.com> | 2023-06-28 10:13:10 -0400 |
---|---|---|
committer | Yusra Syeda <yusra.syeda@ibm.com> | 2023-06-28 10:13:10 -0400 |
commit | 9df0f66af5462e23216eae31aedbd4d2f459cc3d (patch) | |
tree | 92b69f0a595c6d04544610888f49a3ad194c1b33 /llvm/lib/MC/MCObjectFileInfo.cpp | |
parent | c8e9c440193fd87f7fa42edd7494df9da376dae2 (diff) | |
download | llvm-9df0f66af5462e23216eae31aedbd4d2f459cc3d.zip llvm-9df0f66af5462e23216eae31aedbd4d2f459cc3d.tar.gz llvm-9df0f66af5462e23216eae31aedbd4d2f459cc3d.tar.bz2 |
[SystemZ][z/OS] This patch adds support for the ADA (associated data area), doing the following:
- Creates the ADA table to handle displacements
- Emits the ADA section in the SystemZAsmPrinter
- Lowers the ADA_ENTRY node into the appropriate load instruction
Differential Revision: https://reviews.llvm.org/D153788
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r-- | llvm/lib/MC/MCObjectFileInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp index 9fceaa2..df2085e 100644 --- a/llvm/lib/MC/MCObjectFileInfo.cpp +++ b/llvm/lib/MC/MCObjectFileInfo.cpp @@ -542,6 +542,8 @@ void MCObjectFileInfo::initGOFFMCObjectFileInfo(const Triple &T) { PPA1Section = Ctx->getGOFFSection(".ppa1", SectionKind::getMetadata(), TextSection, MCConstantExpr::create(GOFF::SK_PPA1, *Ctx)); + ADASection = + Ctx->getGOFFSection(".ada", SectionKind::getData(), nullptr, nullptr); } void MCObjectFileInfo::initCOFFMCObjectFileInfo(const Triple &T) { |