aboutsummaryrefslogtreecommitdiff
path: root/elymas/lib/sys/so.ey
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-12-31 00:54:59 +0100
committerDrahflow <drahflow@gmx.de>2013-12-31 00:54:59 +0100
commit643d6dca1e6026ebf8cfa551ae3e95cc69003c47 (patch)
treedf79289945ee98efee9be9ca201eb1a6fda8c840 /elymas/lib/sys/so.ey
parent9699795a62506f69cb83fa35cb58e7641690eb5f (diff)
Less memory usage still
Also, sys .opt now needs less luck to execute correctly.
Diffstat (limited to 'elymas/lib/sys/so.ey')
-rw-r--r--elymas/lib/sys/so.ey7
1 files changed, 4 insertions, 3 deletions
diff --git a/elymas/lib/sys/so.ey b/elymas/lib/sys/so.ey
index d474d4c..468ec0f 100644
--- a/elymas/lib/sys/so.ey
+++ b/elymas/lib/sys/so.ey
@@ -572,7 +572,7 @@
i sys .asm .globalAllocSize ==?dataSize
>
} each
- ] ==allocSections
+ ] ==?allocSections
4096 ==:PAGESIZE
@@ -840,10 +840,11 @@
data str .fromArray out .writeall
} each
+ 1 ==:WRITE
+
[ ] _ =fileHeaders
=metaSections
-
- 1 ==:WRITE
+ < > =stringTable
allocSections { ==section
section .dataOffset fileOffset sub str .alloc out .writeall