diff options
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r-- | llvm/lib/MC/MCObjectFileInfo.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp index 9505420..b8c66c6 100644 --- a/llvm/lib/MC/MCObjectFileInfo.cpp +++ b/llvm/lib/MC/MCObjectFileInfo.cpp @@ -864,17 +864,17 @@ void MCObjectFileInfo::initXCOFFMCObjectFileInfo(const Triple &T) { // get placed into this csect. The choice of csect name is not a property of // the ABI or object file format. For example, the XL compiler uses an unnamed // csect for program code. - TextSection = - Ctx->getXCOFFSection(".text", XCOFF::StorageMappingClass::XMC_PR, - XCOFF::XTY_SD, SectionKind::getText()); + TextSection = Ctx->getXCOFFSection( + ".text", XCOFF::StorageMappingClass::XMC_PR, XCOFF::XTY_SD, + SectionKind::getText(), /* MultiSymbolsAllowed*/ true); - DataSection = - Ctx->getXCOFFSection(".data", XCOFF::StorageMappingClass::XMC_RW, - XCOFF::XTY_SD, SectionKind::getData()); + DataSection = Ctx->getXCOFFSection( + ".data", XCOFF::StorageMappingClass::XMC_RW, XCOFF::XTY_SD, + SectionKind::getData(), /* MultiSymbolsAllowed*/ true); - ReadOnlySection = - Ctx->getXCOFFSection(".rodata", XCOFF::StorageMappingClass::XMC_RO, - XCOFF::XTY_SD, SectionKind::getReadOnly()); + ReadOnlySection = Ctx->getXCOFFSection( + ".rodata", XCOFF::StorageMappingClass::XMC_RO, XCOFF::XTY_SD, + SectionKind::getReadOnly(), /* MultiSymbolsAllowed*/ true); TOCBaseSection = Ctx->getXCOFFSection("TOC", XCOFF::StorageMappingClass::XMC_TC0, |