Fix underflowing SECTION FRAGMENT fixed address in RGBLINK (#2122)

This commit is contained in:
Rangi
2026-09-18 22:00:27 -04:00
committed by GitHub
parent 76bba2809b
commit c151450d9f
5 changed files with 30 additions and 0 deletions
@@ -0,0 +1,2 @@
SECTION FRAGMENT "f", ROM0
ds 32, 0
@@ -0,0 +1,2 @@
SECTION FRAGMENT "f", ROM0[$10]
db 42
@@ -0,0 +1,5 @@
FATAL: Section "f" contains 32 bytes, but is also defined with a lower fixed address $0010
at section-fragment/org-beyond-size/a.asm(1)
and also:
at section-fragment/org-beyond-size/b.asm(1)
Linking aborted with 1 error