소스 검색

* 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 년 전
부모
커밋
3ee0fc22d9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/msdos/prt0comn.asm

+ 1 - 1
rtl/msdos/prt0comn.asm

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