================
@@ -2794,6 +2794,10 @@ void
TargetLoweringObjectFileGOFF::getModuleMetadata(Module &M) {
TextLD->setWeak(false);
TextLD->setADA(ADAPR);
TextSection->setBeginSymbol(TextLD);
+ // Initialize the label for the ADA section.
+ MCSymbolGOFF *ADASym = static_cast<MCSymbolGOFF *>(
+ getContext().getOrCreateSymbol(ADAPR->getName()));
+ ADAPR->setBeginSymbol(ADASym);
----------------
amy-kwan wrote:
Thanks - I've put up a separate PR for this:
https://github.com/llvm/llvm-project/pull/174593
https://github.com/llvm/llvm-project/pull/171476
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits