summaryrefslogtreecommitdiff
path: root/com32/elflink/ldlinux/Makefile
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-05-01 08:55:45 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-06-07 14:19:20 +0100
commitc0d18deeee22f3466fd863d64b432660965ec66e (patch)
tree8fce613ef56efd6d112ede4e394051a99490a66f /com32/elflink/ldlinux/Makefile
parent4fc3fd1e14f4c1b9208ef262e5b6aef853e9fce4 (diff)
downloadsyslinux-c0d18deeee22f3466fd863d64b432660965ec66e.tar.gz
elflink: Fix boot sector booting
This adds missing support for booting from a boot sector file such as .bs, .bss or .0, by re-implementing the old asm bootsec code from core/bootsect.inc in C. This has resulted in some external changes. We've had to make StackBuf a global symbol because we access it directly from execute.c. Also, we need to move dsinfo.c into MINLIBOBJS because ldlinux now needs to reference __syslinux_derivative_info. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/Makefile')
-rw-r--r--com32/elflink/ldlinux/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/Makefile b/com32/elflink/ldlinux/Makefile
index ca4c7e25..75c618f6 100644
--- a/com32/elflink/ldlinux/Makefile
+++ b/com32/elflink/ldlinux/Makefile
@@ -21,7 +21,7 @@ all: ldlinux.c32 ldlinux_lnx.a
ldlinux.c32 : ldlinux.o cli.o readconfig.o refstr.o colors.o getadv.o \
adv.o execute.o kernel.o get_key.o \
- advwrite.o setadv.o eprintf.o
+ advwrite.o setadv.o eprintf.o loadhigh.o
$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
LNXLIBOBJS = get_key.lo