mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-23 07:14:31 +00:00
Fix included linker scripts with no newline at EOF (#2011)
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
section "test", rom0[1337]
|
||||
label:: dw label
|
||||
@@ -0,0 +1 @@
|
||||
rom0 ; no newline after this
|
||||
@@ -0,0 +1,2 @@
|
||||
include "linkerscript-no-newline-eof.inc"
|
||||
"test" ; no newline after this
|
||||
@@ -0,0 +1,3 @@
|
||||
error: The linker script assigns section "test" to address $0000, but it was already at $0539
|
||||
at linkerscript-no-newline-eof.link(2)
|
||||
Linking failed with 1 error
|
||||
Reference in New Issue
Block a user