mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-03 16:27:47 +00:00
Report locations for RGBLINK errors with conflicting objects (#1494)
This requires updating the object file format to record the fstack context for sections themselves, not just for patches.
This commit is contained in:
1
test/link/symbols/conflict/a.asm
Normal file
1
test/link/symbols/conflict/a.asm
Normal file
@@ -0,0 +1 @@
|
||||
EXPORT DEF SAME EQU 1
|
||||
1
test/link/symbols/conflict/b.asm
Normal file
1
test/link/symbols/conflict/b.asm
Normal file
@@ -0,0 +1 @@
|
||||
EXPORT DEF SAME EQU 2
|
||||
1
test/link/symbols/conflict/out.err
Normal file
1
test/link/symbols/conflict/out.err
Normal file
@@ -0,0 +1 @@
|
||||
error: "SAME" is defined as 2 at symbols/conflict/b.asm(1), but as 1 at symbols/conflict/a.asm(1)
|
||||
Reference in New Issue
Block a user