summaryrefslogtreecommitdiff
path: root/rts/LinkerInternals.h
diff options
context:
space:
mode:
authorArtem Pyanykh <artempyanykh@gmail.com>2019-02-11 14:05:30 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-20 19:52:39 -0400
commit7bbfb789913b84660bc743aeffee06e18cbde2f0 (patch)
tree7b921a5785a169fec8570b11ea905ab52c5570c9 /rts/LinkerInternals.h
parent78c61acf15c66a17df63da60226acff3a2dda585 (diff)
downloadhaskell-7bbfb789913b84660bc743aeffee06e18cbde2f0.tar.gz
Address some todos and fixmes
Diffstat (limited to 'rts/LinkerInternals.h')
-rw-r--r--rts/LinkerInternals.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h
index cd36fd55d2..a773b3e6a9 100644
--- a/rts/LinkerInternals.h
+++ b/rts/LinkerInternals.h
@@ -118,8 +118,6 @@ typedef struct _Segment {
int n_sections;
} Segment;
-/* todo (AP): add freeSegments */
-
/*
* We must keep track of the StablePtrs that are created for foreign
* exports by constructor functions when the module is loaded, so that
@@ -194,10 +192,7 @@ typedef struct _ObjectCode {
after allocation, so that we can use realloc */
int misalignment;
- /* The section-kind entries for this object module. Linked
- list. */
- /* fixme (AP): doesn't look like a linked list. On MachO it's an array, and
- * generally Section struct doesn't have pointers to next. */
+ /* The section-kind entries for this object module. An array. */
int n_sections;
Section* sections;