summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-07-14 15:08:17 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-16 23:50:37 -0400
commita2dc00f3b736a1128010c82ffadce96c51fbfbf4 (patch)
tree408448c6fc5a84d8a63a16661063cefb10e57b83
parent1fd2f8516fa3902e42c97b56fbcf1b0269f0a60a (diff)
downloadhaskell-a2dc00f3b736a1128010c82ffadce96c51fbfbf4.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;