| Index: src/IceCfg.cpp
|
| diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
|
| index faaabe9acc1e137c2a4a34adf0b2a7f74dbf2575..6fe7eb05830b435bedb9cc7fd98caf2fc5b80eb3 100644
|
| --- a/src/IceCfg.cpp
|
| +++ b/src/IceCfg.cpp
|
| @@ -309,7 +309,7 @@ void Cfg::emit() {
|
| Str << "\t.text\n";
|
| IceString MangledName = getContext()->mangleName(getFunctionName());
|
| if (Ctx->getFlags().FunctionSections)
|
| - Str << "\t.section\t.text." << MangledName << "\n";
|
| + Str << "\t.section\t.text." << MangledName << ",\"ax\",@progbits\n";
|
| if (!getInternal()) {
|
| Str << "\t.globl\t" << MangledName << "\n";
|
| Str << "\t.type\t" << MangledName << ",@function\n";
|
|
|