Index: src/IceCompiler.cpp |
diff --git a/src/IceCompiler.cpp b/src/IceCompiler.cpp |
index d605610bba4d52bbb84e4f3b6e7325d3aee900af..30b9d1f00797737bcbe9284fb74bc1cfd8bba15d 100644 |
--- a/src/IceCompiler.cpp |
+++ b/src/IceCompiler.cpp |
@@ -168,6 +168,7 @@ void Compiler::run(const Ice::ClFlags &Flags, GlobalContext &Ctx, |
if (getFlags().getOutFileType() == FT_Elf) { |
TimerMarker T1(Ice::TimerStack::TT_emitAsm, &Ctx); |
Ctx.getObjectWriter()->setUndefinedSyms(Ctx.getConstantExternSyms()); |
+ Ctx.emitTargetRODataSections(); |
Ctx.getObjectWriter()->writeNonUserSections(); |
} |
} |