summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-07-14 15:08:17 -0400
committerBen Gamari <ben@smart-cactus.org>2022-07-16 08:41:20 -0400
commit70568834a0093b87cc1a8b3b8ede19af427c6377 (patch)
tree80cd2178e47fba6991563f662f0d995b3902ba1e
parentfe4ea674f35fa96b8be945b77718a982c3c80c81 (diff)
downloadhaskell-70568834a0093b87cc1a8b3b8ede19af427c6377.tar.gz
rts/linker: Clean up section kinds
-rw-r--r--rts/LinkerInternals.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h
index 71a939f8c0..5370c86357 100644
--- a/rts/LinkerInternals.h
+++ b/rts/LinkerInternals.h
@@ -103,6 +103,11 @@ typedef
SECTIONKIND_FINI_ARRAY,
/* We don't know what the section is and don't care. */
SECTIONKIND_OTHER,
+
+ /*
+ * Windows-specific section kinds
+ */
+
/* Section contains debug information. e.g. .debug$. */
SECTIONKIND_DEBUG,
/* Section contains exception table. e.g. .pdata. */
@@ -115,8 +120,6 @@ typedef
SECTIONKIND_BFD_IMPORT_LIBRARY_HEAD,
/* Section defines an import library entry, e.g. idata$7. */
SECTIONKIND_BFD_IMPORT_LIBRARY,
- /* Unknown section */
- SECTIONKIND_NOINFOAVAIL
}
SectionKind;