@@ -2795,9 +2795,9 @@ void TargetLoweringObjectFileGOFF::getModuleMetadata(Module &M) {
27952795 // Initialize the label for the text section.
27962796 MCSymbolGOFF *TextLD = static_cast <MCSymbolGOFF *>(
27972797 getContext ().getOrCreateSymbol (RootSD->getName ()));
2798- TextLD->setLDAttributes (GOFF::LDAttr{false , GOFF::ESD_EXE_CODE,
2799- GOFF::ESD_BST_Strong, GOFF::LINKAGE ,
2800- GOFF::AMODE , GOFF::ESD_BSC_Section});
2798+ TextLD->setLDAttributes (GOFF::LDAttr{
2799+ false , GOFF::ESD_EXE_CODE, GOFF::ESD_BST_Strong, GOFF::ESD_LT_XPLink ,
2800+ GOFF::ESD_AMODE_64 , GOFF::ESD_BSC_Section});
28012801 TextLD->setADA (ADAPR);
28022802 TextSection->setBeginSymbol (TextLD);
28032803}
@@ -2813,14 +2813,14 @@ MCSection *TargetLoweringObjectFileGOFF::getSectionForLSDA(
28132813
28142814 MCSectionGOFF *WSA = getContext ().getGOFFSection (
28152815 SectionKind::getMetadata (), GOFF::CLASS_WSA,
2816- GOFF::EDAttr{false , GOFF::RMODE , GOFF::ESD_NS_Parts,
2816+ GOFF::EDAttr{false , GOFF::ESD_RMODE_64 , GOFF::ESD_NS_Parts,
28172817 GOFF::ESD_TS_ByteOriented, GOFF::ESD_BA_Merge,
2818- GOFF::LOADBEHAVIOR , GOFF::ESD_RQ_0, GOFF::ESD_ALIGN_Fullword ,
2819- 0 },
2818+ GOFF::ESD_LB_Initial , GOFF::ESD_RQ_0,
2819+ GOFF::ESD_ALIGN_Fullword, 0 },
28202820 static_cast <MCSectionGOFF *>(TextSection)->getParent ());
28212821 return getContext ().getGOFFSection (SectionKind::getData (), Name,
28222822 GOFF::PRAttr{true , GOFF::ESD_EXE_DATA,
2823- GOFF::LINKAGE ,
2823+ GOFF::ESD_LT_XPLink ,
28242824 GOFF::ESD_BSC_Section, 0 },
28252825 WSA);
28262826}
@@ -2846,13 +2846,13 @@ MCSection *TargetLoweringObjectFileGOFF::SelectSectionForGlobal(
28462846 GOFF::SDAttr{GOFF::ESD_TA_Unspecified, SDBindingScope});
28472847 MCSectionGOFF *ED = getContext ().getGOFFSection (
28482848 SectionKind::getMetadata (), GOFF::CLASS_WSA,
2849- GOFF::EDAttr{false , GOFF::RMODE , GOFF::ESD_NS_Parts,
2849+ GOFF::EDAttr{false , GOFF::ESD_RMODE_64 , GOFF::ESD_NS_Parts,
28502850 GOFF::ESD_TS_ByteOriented, GOFF::ESD_BA_Merge,
28512851 GOFF::ESD_LB_Deferred, GOFF::ESD_RQ_0, Align, 0 },
28522852 SD);
28532853 return getContext ().getGOFFSection (Kind, Symbol->getName (),
28542854 GOFF::PRAttr{false , GOFF::ESD_EXE_DATA,
2855- GOFF::LINKAGE ,
2855+ GOFF::ESD_LT_XPLink ,
28562856 PRBindingScope, 0 },
28572857 ED);
28582858 }
0 commit comments