mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Roll out r126425 and r126450 to see if it fixes the failures on the buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -177,8 +177,9 @@ void AsmPrinter::EmitReference(const GlobalValue *GV, unsigned Encoding)const{
|
||||
void AsmPrinter::EmitSectionOffset(const MCSymbol *Label,
|
||||
const MCSymbol *SectionLabel) const {
|
||||
// On COFF targets, we have to emit the special .secrel32 directive.
|
||||
if (MAI->getDwarfSectionOffsetDirective()) {
|
||||
OutStreamer.EmitCOFFSecRel32(Label);
|
||||
if (const char *SecOffDir = MAI->getDwarfSectionOffsetDirective()) {
|
||||
// FIXME: MCize.
|
||||
OutStreamer.EmitRawText(SecOffDir + Twine(Label->getName()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user