From db7f7240b53c01447e44d2790ee37eacaabfbcf3 Mon Sep 17 00:00:00 2001 From: Ben Gamari <ben@smart-cactus.org> Date: Wed, 8 Feb 2023 11:59:40 -0500 Subject: [PATCH] nativeGen: Set explicit section types on all platforms --- compiler/GHC/CmmToAsm/Ppr.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/GHC/CmmToAsm/Ppr.hs b/compiler/GHC/CmmToAsm/Ppr.hs index 52c2f8307fb2..45b0545059e9 100644 --- a/compiler/GHC/CmmToAsm/Ppr.hs +++ b/compiler/GHC/CmmToAsm/Ppr.hs @@ -248,6 +248,7 @@ pprGNUSectionHeader config t suffix = Text | OSMinGW32 <- platformOS platform -> text ",\"xr\"" + | otherwise -> text ",\"ax\"," <> sectionType platform "progbits" CString | OSMinGW32 <- platformOS platform -> empty -- GitLab