From 5269b58365387591de79296d9a2c00df0db30b4a Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Tue, 17 Dec 2019 12:43:05 -0500 Subject: [PATCH] default merlin kind is 4096 (static code, no special memory) --- link.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/link.cpp b/link.cpp index 5b23733..d0c0e56 100644 --- a/link.cpp +++ b/link.cpp @@ -157,7 +157,7 @@ namespace { unsigned ver = 2; unsigned ftype = 0xb3; unsigned atype = 0x0000; - unsigned kind = 0x0000; +// unsigned kind = 0x0000; unsigned org = 0x0000; unsigned sav = 0; @@ -236,6 +236,7 @@ void new_segment(bool reset = false) { relocations.emplace_back(); segments.back().segnum = segments.size(); + segments.back().kind = 4096; /* no special memory */ len_offset = 0; pos_offset = 0; }