RGBLINK lists local symbols when encountering an unknown symbol reference (#1496)

This commit is contained in:
Sylvie
2024-09-06 21:31:13 -04:00
committed by GitHub
parent 7960a10228
commit 323028d9f2
17 changed files with 69 additions and 4 deletions

View File

@@ -0,0 +1,2 @@
section "a", rom0
ld hl, Label

View File

@@ -0,0 +1,2 @@
section "b", rom0
Label:

View File

@@ -0,0 +1 @@
def Label equ 42

View File

@@ -0,0 +1 @@
def Label = 123

View File

@@ -0,0 +1,2 @@
section "e", wram0
Label:

View File

@@ -0,0 +1,6 @@
error: symbols/unknown/a.asm(2): Unknown symbol "Label"
A label with that name is defined but not exported at symbols/unknown/b.asm(2)
A constant with that name is defined but not exported at symbols/unknown/c.asm(1)
A constant with that name is defined but not exported at symbols/unknown/d.asm(1)
...and 1 more symbol with that name is defined but not exported
Linking failed with 1 error