Ensure proper alignment of subsections.
Also, do a better job of halting build on a failure in checkrom.py
diff --git a/Makefile b/Makefile
index b4dcd8e..70b0a3e 100644
--- a/Makefile
+++ b/Makefile
@@ -103,10 +103,10 @@
$(OUT)rom32.o: $(OUT)rom16.o $(OUT)romlayout32.o $(OUT)rombios32.lds
@echo " Linking $@"
$(Q)ld -T $(OUT)rombios32.lds $(OUT)rom16.o $(OUT)romlayout32.o -o $@
- $(Q)nm $@ | ./tools/checkrom.py
$(OUT)bios.bin.elf: $(OUT)rom32.o
- @echo " Stripping $<"
+ @echo " Prepping $@"
+ $(Q)nm $< | ./tools/checkrom.py
$(Q)strip $< -o $@
$(OUT)bios.bin: $(OUT)bios.bin.elf