summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/X86
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2014-10-20 16:03:50 -0700
committerEdward Z. Yang <ezyang@cs.stanford.edu>2014-10-20 16:28:42 -0700
commitd5d6fb340410727345a7b5a47bcf83e7847ea4a3 (patch)
tree88b880020f9a51b694d9bf23e546db3a7b8377e6 /compiler/nativeGen/X86
parenta3860fc4e253ecb4854e86aed78c56e72f318840 (diff)
downloadhaskell-d5d6fb340410727345a7b5a47bcf83e7847ea4a3.tar.gz
Revert "Place static closures in their own section."
This reverts commit b23ba2a7d612c6b466521399b33fe9aacf5c4f75. Conflicts: compiler/cmm/PprCmmDecl.hs compiler/nativeGen/PPC/Ppr.hs compiler/nativeGen/SPARC/Ppr.hs compiler/nativeGen/X86/Ppr.hs
Diffstat (limited to 'compiler/nativeGen/X86')
-rw-r--r--compiler/nativeGen/X86/Ppr.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/nativeGen/X86/Ppr.hs b/compiler/nativeGen/X86/Ppr.hs
index 6449d8e5e7..cc39557f1d 100644
--- a/compiler/nativeGen/X86/Ppr.hs
+++ b/compiler/nativeGen/X86/Ppr.hs
@@ -389,7 +389,6 @@ pprSectionHeader seg =
-> text ".const_data\n\t.align 2"
UninitialisedData -> text ".data\n\t.align 2"
ReadOnlyData16 -> text ".const\n\t.align 4"
- StaticClosures -> text ".section staticclosures,\"aw\"\n\t.align 2"
OtherSection _ -> panic "X86.Ppr.pprSectionHeader: unknown section"
| otherwise ->
case seg of
@@ -400,7 +399,6 @@ pprSectionHeader seg =
-> text ".const_data\n\t.align 3"
UninitialisedData -> text ".data\n\t.align 3"
ReadOnlyData16 -> text ".const\n\t.align 4"
- StaticClosures -> text ".section staticclosures,\"aw\"\n\t.align 3"
OtherSection _ -> panic "PprMach.pprSectionHeader: unknown section"
_
| target32Bit platform ->
@@ -412,7 +410,6 @@ pprSectionHeader seg =
-> text ".section .data\n\t.align 4"
UninitialisedData -> text ".section .bss\n\t.align 4"
ReadOnlyData16 -> text ".section .rodata\n\t.align 16"
- StaticClosures -> text ".section staticclosures,\"aw\"\n\t.align 4"
OtherSection _ -> panic "X86.Ppr.pprSectionHeader: unknown section"
| otherwise ->
case seg of
@@ -423,7 +420,6 @@ pprSectionHeader seg =
-> text ".section .data\n\t.align 8"
UninitialisedData -> text ".section .bss\n\t.align 8"
ReadOnlyData16 -> text ".section .rodata.cst16\n\t.align 16"
- StaticClosures -> text ".section staticclosures,\"aw\"\n\t.align 8"
OtherSection _ -> panic "PprMach.pprSectionHeader: unknown section"