From cac739a1998ad50ce3ca433d563d1802a55931e8 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 1 May 2017 19:53:00 +0200 Subject: some playing around with linker flags --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index ec9e466..c983fb6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -14,7 +14,7 @@ boot.bin: boot.asm gdt.asm stage1_functions.asm stage2_functions.asm switch_mode nasm boot.asm -f bin -o boot.bin kernel.bin: kernel.o vga.o string.o - $(LD) -o kernel.bin -Ttext 0x8000 -m elf_i386 --oformat binary \ + $(LD) -o kernel.bin -n -Ttext 0x8000 --oformat binary \ kernel.o vga.o string.o kernel.o: kernel.c -- cgit v1.2.3-54-g00ecf