Skip to content

Commit f9ef5a4

Browse files
committed
nativeGen: Set explicit section types on all platforms
(cherry picked from commit db7f724)
1 parent 3cac14d commit f9ef5a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/GHC/CmmToAsm/Ppr.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ pprGNUSectionHeader config t suffix =
248248
Text
249249
| OSMinGW32 <- platformOS platform
250250
-> text ",\"xr\""
251+
| otherwise -> text ",\"ax\"," <> sectionType platform "progbits"
251252
CString
252253
| OSMinGW32 <- platformOS platform
253254
-> empty

0 commit comments

Comments
 (0)