aboutsummaryrefslogtreecommitdiffstats
path: root/dos/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-11-13 13:40:35 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-11-13 13:44:08 -0800
commitfcd383ae04ef0382ad93b83ba82112104aa986e0 (patch)
treee776b8ac21a52f41a3924806ebaf42594ce45c23 /dos/Makefile
parent6ee958bf9f830b59fd10d3a83c0fa1d5f30d4809 (diff)
downloadsyslinux.git-fcd383ae04ef0382ad93b83ba82112104aa986e0.tar.gz
syslinux.git-fcd383ae04ef0382ad93b83ba82112104aa986e0.tar.xz
syslinux.git-fcd383ae04ef0382ad93b83ba82112104aa986e0.zip
dos: int 25/26 may be register-dirty; wrap them in assembly
int 25h and int 26h are known to be register-dirty for some versions of DOS -- unlike int 21h, which is usually clean. As such, wrap those in assembly functions. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'dos/Makefile')
-rw-r--r--dos/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dos/Makefile b/dos/Makefile
index 6d87d64a..9d8ce33c 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -30,7 +30,8 @@ SRCS = syslinux.c \
../libinstaller/mbr_bin.c \
$(wildcard ../libfat/*.c)
OBJS = crt0.o $(patsubst %.c,%.o,$(notdir $(SRCS)))
-LIBOBJS = conio.o memcpy.o memset.o skipatou.o atou.o malloc.o free.o \
+LIBOBJS = int2526.o conio.o memcpy.o memset.o skipatou.o atou.o \
+ malloc.o free.o \
argv.o printf.o __divdi3.o __udivmoddi4.o
VPATH = .:../libfat:../libinstaller