diff --git a/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ObjectWriter/MachObjectWriter.cs b/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ObjectWriter/MachObjectWriter.cs index 3001640249d44b..c6d97312deb2d4 100644 --- a/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ObjectWriter/MachObjectWriter.cs +++ b/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ObjectWriter/MachObjectWriter.cs @@ -113,7 +113,7 @@ private protected override void EmitSectionsAndLayout() Name = $"lsection{sectionIndex}", Section = section, Value = section.VirtualAddress, - Descriptor = 0, + Descriptor = N_NO_DEAD_STRIP, Type = N_SECT, }; _symbolTable.Add(machSymbol);