Prevent SECTION FRAGMENT combined sizes from overflowing their uint16_t size

This commit is contained in:
Rangi
2026-08-22 18:24:17 -04:00
parent ed0a2d1075
commit 8bc7de35f9
4 changed files with 24 additions and 0 deletions
@@ -0,0 +1,2 @@
SECTION FRAGMENT "output", ROM0
ds $4000
@@ -0,0 +1,5 @@
FATAL: Section "output" fragments combined are larger than the GB address space
at section-fragment/size-overflow/a.asm(1)
and also:
at section-fragment/size-overflow/a.asm(1)
Linking aborted with 1 error