Add test for fixed section addresses

This commit is contained in:
ISSOtm
2020-01-16 18:12:42 +01:00
parent 10140f74dc
commit 2c52364978
3 changed files with 34 additions and 0 deletions

14
test/link/fixed-oob.out Normal file
View File

@@ -0,0 +1,14 @@
warning: Section "VRAM"'s fixed address 0xc0de is outside of range [0x8000; 0x9fff]
warning: Section "VRAM"'s end address 0xc0de is greater than last address 0xa000
warning: Section "OAM"'s fixed address 0xcab is outside of range [0xfe00; 0xfe9f]
warning: Section "WRAM0"'s fixed address 0xdead is outside of range [0xc000; 0xcfff]
warning: Section "WRAM0"'s end address 0xdead is greater than last address 0xd000
warning: Section "HRAM"'s fixed address 0xbad is outside of range [0xff80; 0xfffe]
warning: Section "SRAM"'s fixed address 0xcafe is outside of range [0xa000; 0xbfff]
warning: Section "SRAM"'s end address 0xcafe is greater than last address 0xc000
warning: Section "WRAMX"'s fixed address 0xdad is outside of range [0xd000; 0xdfff]
warning: Section "ROMX"'s fixed address 0xbeef is outside of range [0x4000; 0x7fff]
warning: Section "ROMX"'s end address 0xbeef is greater than last address 0x8000
warning: Section "ROM0"'s fixed address 0xbabe is outside of range [0; 0x3fff]
warning: Section "ROM0"'s end address 0xbabe is greater than last address 0x4000
error: Sanity checks failed