Support .bss variables in 16bit code (ones that the 32bit code can set).
[seabios.git] / Makefile
index b294ed923d9e64fe98f7ebfd033e42571fbe9b76..d5804f37a6edae86e2a8dc62956ba64b511519d3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,7 @@ $(OUT)romlayout32.o: ; $(call whole-compile, $(CFLAGS), $(addprefix src/, $(SRC3
 
 $(OUT)rom32.o: $(OUT)romlayout32.o $(OUT)rombios32.lds
        @echo "  Linking (no relocs) $@"
-       $(Q)$(LD) -r -T $(OUT)rombios32.lds $< -o $@
+       $(Q)$(LD) -r -d -T $(OUT)rombios32.lds $< -o $@
 
 $(OUT)rom16.o: $(OUT)romlayout16.o $(OUT)rom32.o $(OUT)rombios16.lds
        @echo "  Linking $@"