diff --git a/boot/efisetup.c b/boot/efisetup.c index b95cc52..db6f1d2 100644 --- a/boot/efisetup.c +++ b/boot/efisetup.c @@ -16,7 +16,7 @@ #include "string.h" -#define DEBUG 0 +#define DEBUG 1 //------------------------------------------------------------------------------ // Constants diff --git a/build32/Makefile b/build32/Makefile index 206dfb7..5118a9d 100644 --- a/build32/Makefile +++ b/build32/Makefile @@ -101,11 +101,11 @@ memtest_shared.bin: memtest_shared objcopy -O binary $< memtest_shared.bin memtest.bin: memtest_shared.bin boot/bootsect.o boot/setup.o ldscripts/memtest_bin.lds - $(eval SIZES=$(shell size -G -d memtest_shared | grep memtest_shared)) + $(eval SIZES=$(shell size -B -d memtest_shared | grep memtest_shared)) $(LD) --defsym=_bss_size=$(word 3,$(SIZES)) -T ldscripts/memtest_bin.lds boot/bootsect.o boot/setup.o -b binary memtest_shared.bin -o memtest.bin memtest.efi: memtest_shared.bin boot/header.o boot/setup.o ldscripts/memtest_efi.lds - $(eval SIZES=$(shell size -G -d memtest_shared | grep memtest_shared)) + $(eval SIZES=$(shell size -B -d memtest_shared | grep memtest_shared)) $(LD) --defsym=_bss_size=$(word 3,$(SIZES)) -T ldscripts/memtest_efi.lds boot/header.o boot/setup.o -b binary memtest_shared.bin -o memtest.efi memtest.mbr: memtest_shared.bin boot/mbr.o ldscripts/memtest_mbr.lds diff --git a/build64/Makefile b/build64/Makefile index 0271bd0..6249b32 100644 --- a/build64/Makefile +++ b/build64/Makefile @@ -100,11 +100,11 @@ memtest_shared.bin: memtest_shared objcopy -O binary $< memtest_shared.bin memtest.bin: memtest_shared.bin boot/bootsect.o boot/setup.o ldscripts/memtest_bin.lds - $(eval SIZES=$(shell size -G -d memtest_shared | grep memtest_shared)) + $(eval SIZES=$(shell size -B -d memtest_shared | grep memtest_shared)) $(LD) --defsym=_bss_size=$(word 3,$(SIZES)) -T ldscripts/memtest_bin.lds boot/bootsect.o boot/setup.o -b binary memtest_shared.bin -o memtest.bin memtest.efi: memtest_shared.bin boot/header.o boot/setup.o ldscripts/memtest_efi.lds - $(eval SIZES=$(shell size -G -d memtest_shared | grep memtest_shared)) + $(eval SIZES=$(shell size -B -d memtest_shared | grep memtest_shared)) $(LD) --defsym=_bss_size=$(word 3,$(SIZES)) -T ldscripts/memtest_efi.lds boot/header.o boot/setup.o -b binary memtest_shared.bin -o memtest.efi memtest.mbr: memtest_shared.bin boot/mbr.o ldscripts/memtest_mbr.lds