Chromium Code Reviews| Index: src/IceCfg.cpp | 
| diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp | 
| index 4c58d50490c033da495149a457b157cb8c50d164..a1c4b5f7e17774b706c6cb40350fbab18dcadf06 100644 | 
| --- a/src/IceCfg.cpp | 
| +++ b/src/IceCfg.cpp | 
| @@ -682,7 +682,7 @@ void Cfg::emitTextHeader(const IceString &MangledName, GlobalContext *Ctx, | 
| Ostream &Str = Ctx->getStrEmit(); | 
| Str << "\t.text\n"; | 
| if (Ctx->getFlags().getFunctionSections()) | 
| - Str << "\t.section\t.text." << MangledName << ",\"ax\",@progbits\n"; | 
| + Str << "\t.section\t.text." << MangledName << ",\"ax\",%progbits\n"; | 
| 
 
Jim Stichnoth
2015/10/15 23:34:21
Just checking -- is this syntax also valid for x86
 
John
2015/11/05 20:25:13
well, szbuild_spec2k.py --target=x8632 --filetype=
 
 | 
| if (!Asm->getInternal() || Ctx->getFlags().getDisableInternal()) { | 
| Str << "\t.globl\t" << MangledName << "\n"; | 
| Str << "\t.type\t" << MangledName << ",%function\n"; |