Format linker script error backtraces the same way as others (#1792)

This commit is contained in:
Rangi
2025-08-12 16:58:17 -04:00
committed by GitHub
parent 1bf1219e07
commit 50d0b101c3
28 changed files with 181 additions and 101 deletions

View File

@@ -1,10 +1,19 @@
error: script-oob-org.link(2): Cannot set the current address to $4000: ROM0 ends at $3fff
error: script-oob-org.link(3): Cannot set the current address to $4001: ROM0 ends at $3fff
error: script-oob-org.link(6): Cannot decrease the current address (from $4000 to $3fff)
error: script-oob-org.link(7): Cannot set the current address to $8000: ROMX ends at $7fff
error: script-oob-org.link(8): Cannot set the current address to $8001: ROMX ends at $7fff
error: script-oob-org.link(11): Cannot decrease the current address (from $ff80 to $0000)
error: script-oob-org.link(12): Cannot decrease the current address (from $ff80 to $ff7f)
error: script-oob-org.link(14): Cannot set the current address to $ffff: HRAM ends at $fffe
error: script-oob-org.link(15): Cannot set the current address to $10000: HRAM ends at $fffe
error: Cannot set the current address to $4000: ROM0 ends at $3fff
at script-oob-org.link(2)
error: Cannot set the current address to $4001: ROM0 ends at $3fff
at script-oob-org.link(3)
error: Cannot decrease the current address (from $4000 to $3fff)
at script-oob-org.link(6)
error: Cannot set the current address to $8000: ROMX ends at $7fff
at script-oob-org.link(7)
error: Cannot set the current address to $8001: ROMX ends at $7fff
at script-oob-org.link(8)
error: Cannot decrease the current address (from $ff80 to $0000)
at script-oob-org.link(11)
error: Cannot decrease the current address (from $ff80 to $ff7f)
at script-oob-org.link(12)
error: Cannot set the current address to $ffff: HRAM ends at $fffe
at script-oob-org.link(14)
error: Cannot set the current address to $10000: HRAM ends at $fffe
at script-oob-org.link(15)
Linking failed with 9 errors