Fix large ds in linker script overflowing the PC

This commit is contained in:
Rangi
2026-07-14 00:42:42 -04:00
parent c0ff3d92ad
commit 19e60d9864
6 changed files with 24 additions and 1 deletions
+9
View File
@@ -322,6 +322,15 @@ tryDiff "$test"/out.err "$outtemp"
tryCmp "$test"/out.gb "$gbtemp"
evaluateTest
test="script-ds"
startTest
"$RGBASM" -o "$otemp" "$test"/a.asm
"$RGBASM" -o "$gbtemp2" "$test"/b.asm
continueTest
rgblinkQuiet -o "$gbtemp" -l "$test"/script.link "$otemp" "$gbtemp2" 2>"$outtemp"
tryDiff "$test"/out.err "$outtemp"
evaluateTest
test="script-include"
startTest
"$RGBASM" -o "$otemp" "$test"/a.asm