Make sure the DOS native and Linux cross-builds produce identical binaries.

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1568 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2011-04-09 02:42:51 +00:00
parent 3df307b933
commit 0b5098042e
3 changed files with 13 additions and 1 deletions

View File

@ -21,6 +21,13 @@ Changelog items can list SVN revision rNUMBER and bugzilla bug NUMBER.
sector is given (sys X: bootfile.bin)
+ Changes Bart
* r1568 kernel/asmsupt.asm, mkfiles/owlinux.mak: Make sure the
DOS native and Linux cross-builds produce identical binaries.
* r1567 drivers/rdpcclk.asm,kernel/{asmsupt,entry,irqstack,kernel,
nls_hc}.asm, kernel/makefile:
Remove useless END from nls_hc.asm, add explicit byte
overrides for older versions of NASM for more compact code,
and adjust silent relocation segments.
* r1565 sys/sys.c: Change // to /* comments for Turbo C compatibility.
* r1564 kernel/dosfns.c: If handle valid, close file in PSP
table before the low-level close + (perhaps) critical error.

View File

@ -34,6 +34,11 @@
; $Id$
;
; for OW on Linux:
%ifdef owlinux
%define WATCOM
%endif
%ifdef WATCOM
%ifdef _INIT
%define WATCOM_INIT ; no seperate init segment for watcom.

View File

@ -16,4 +16,4 @@ CLT=gcc -DDOSC_TIME_H -I../hdr -o $@
CLC=$(CLT)
CFLAGST=-fo=.obj $(CFLAGST)
ALLCFLAGS=-fo=.obj $(ALLCFLAGS)
XLINK=$(XLINK) debug all op symfile format dos option map op statics F { $(OBJS) ../lib/device.lib } N kernel.exe $#
XLINK=$(XLINK) debug all op symfile format dos option map,statics,verbose F { $(OBJS) } L ../lib/device.lib N kernel.exe $#