mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-23 23:34:32 +00:00
Fix large ds in linker script overflowing the PC
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
section "foo", rom0
|
||||
Foo:: dw Foo
|
||||
@@ -0,0 +1,2 @@
|
||||
section "bar", rom0
|
||||
Bar:: dw Bar
|
||||
@@ -0,0 +1,3 @@
|
||||
error: Cannot increase the current address by 4294967280 bytes: only 12286 bytes to $4000
|
||||
at script-ds/script.link(4)
|
||||
Linking failed with 1 error
|
||||
@@ -0,0 +1,5 @@
|
||||
ROM0
|
||||
org $1000
|
||||
"foo"
|
||||
ds $ffff_fff0
|
||||
"bar"
|
||||
Reference in New Issue
Block a user