fix: ld_script.txt, tabs vs spaces & add: asmdiff.sh

This commit is contained in:
dheu
2019-07-08 17:50:20 +08:00
parent 78925baf89
commit 2b92e8f9d4
3 changed files with 119 additions and 113 deletions
-1
View File
@@ -215,7 +215,6 @@ SECTIONS {
asm/hall_of_fame.o(.text); asm/hall_of_fame.o(.text);
asm/credits.o(.text); asm/credits.o(.text);
src/diploma.o(.text); src/diploma.o(.text);
asm/diploma.o(.text);
asm/save_failed_screen.o(.text); asm/save_failed_screen.o(.text);
asm/clear_save_data_screen.o(.text); asm/clear_save_data_screen.o(.text);
asm/evolution_graphics.o(.text); asm/evolution_graphics.o(.text);
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
OBJDUMP="./tools/binutils/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb"
OPTIONS="--start-address=$1 --stop-address=$2"
$OBJDUMP $OPTIONS baserom.gba > baserom.dump
$OBJDUMP $OPTIONS pokefirered.gba > pokefirered.dump
diff -u baserom.dump pokefirered.dump