Split up the linkerscript lexer and layout actions

This commit is contained in:
Rangi42
2025-07-27 13:03:28 -04:00
parent a353637a90
commit 16e16cdf51
15 changed files with 448 additions and 433 deletions

View File

@@ -0,0 +1,2 @@
SECTION "test", ROM0
db 1, 2, 3

View File

@@ -0,0 +1,3 @@
INCLUDE "linkerscript-noexist.inc"
ROM0
"test"

View File

@@ -0,0 +1,2 @@
error: linkerscript-noexist.link(1): Failed to open included linker script "linkerscript-noexist.inc": No such file or directory
Linking failed with 1 error