aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@zytor.com>2012-05-04 02:17:46 -0300
committerPaulo Alcantara <pcacjr@zytor.com>2012-05-12 00:56:22 -0300
commit6aba981cd9310bae94587d3e51106261bf0e27b9 (patch)
tree46359ec76905f68643122469d255f62e345d6289 /mk
parent289cc36d32e57d28d5070e975101d37cd96580f2 (diff)
downloadsyslinux-6aba981cd9310bae94587d3e51106261bf0e27b9.tar.gz
syslinux-6aba981cd9310bae94587d3e51106261bf0e27b9.tar.xz
syslinux-6aba981cd9310bae94587d3e51106261bf0e27b9.zip
pxe: resolve names via DNS from protected-mode code
Syslinux used to call __intcall() for calling routines of the old COMBOOT API to resolve names via DNS (INT 22h, AX=0x0010) that seemed pointless, since INT 22h, AX=0x0010 does call the protected-mode function pm_pxe_resolv_dns() when calling INT 22h, AX=0x0010. So, for resolving names via DNS we must call pxe_dns_resolv() (a protected-mode function) instead for now. Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/com32.mk3
-rw-r--r--mk/elf.mk3
2 files changed, 4 insertions, 2 deletions
diff --git a/mk/com32.mk b/mk/com32.mk
index 262d2a6c..6e7e9a68 100644
--- a/mk/com32.mk
+++ b/mk/com32.mk
@@ -48,7 +48,8 @@ endif
CFLAGS = $(GCCOPT) $(GCCWARN) -march=i386 \
-fomit-frame-pointer -D__COM32__ \
-nostdinc -iwithprefix include \
- -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE)
+ -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE) \
+ -I../../core/include
SFLAGS = $(GCCOPT) $(GCCWARN) -march=i386 \
-fomit-frame-pointer -D__COM32__ \
-nostdinc -iwithprefix include \
diff --git a/mk/elf.mk b/mk/elf.mk
index ca061152..c5d50551 100644
--- a/mk/elf.mk
+++ b/mk/elf.mk
@@ -44,7 +44,8 @@ endif
CFLAGS = $(GCCOPT) -W -Wall -march=i386 \
-fomit-frame-pointer -D__COM32__ -DDYNAMIC_MODULE \
-nostdinc -iwithprefix include \
- -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE)
+ -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE) \
+ -I../../core/include
SFLAGS = $(GCCOPT) -D__COM32__ -march=i386
LDFLAGS = -m elf_i386 -shared --hash-style=gnu -T $(com32)/lib/elf32.ld