Browse Source

* use 'dw' instead of 'dd' to reference the heap from the i8086-msdos startup
code, because 'dd' causes nasm to emit a 32-bit OMF relocation entry, which
we won't support (at least initially) in our internal linker

git-svn-id: trunk@31345 -

nickysn 10 years ago
parent
commit
3ee0fc22d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/msdos/prt0comn.asm

+ 1 - 1
rtl/msdos/prt0comn.asm

@@ -498,7 +498,7 @@ not_enough_mem_msg:
 %endif
 %endif
         ; add reference to the beginning of the minimal heap, so the object
         ; add reference to the beginning of the minimal heap, so the object
         ; module, containing the heap segment doesn't get smartlinked away
         ; module, containing the heap segment doesn't get smartlinked away
-        dd ___heap
+        dw ___heap
 
 
         segment bss class=bss align=2
         segment bss class=bss align=2