Fix off-by-one error with INCLUDEd linker script line numbers

This commit is contained in:
Rangi authored and Rangi committed 2026-06-09 16:16:21 -04:00
1 parent f72a4d53e2
commit 6b2b6e6000
4 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
warning: Integer constant is too large [-Wlarge-constant]
at large-constant.inc(1) <- large-constant.link(3)
at large-constant.inc(1) <- large-constant.link(2)
+1 -1
View File
@@ -1,3 +1,3 @@
error: The linker script assigns section "test" to address $0000, but it was already at $002a
at linkerscript-include.inc(1) <- linkerscript-include.link(4)
at linkerscript-include.inc(1) <- linkerscript-include.link(3)
Linking failed with 1 error