mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 06:17:48 +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:
2
test/link/section-normal/same-name/a.asm
Normal file
2
test/link/section-normal/same-name/a.asm
Normal file
@@ -0,0 +1,2 @@
|
||||
SECTION "Same", ROM0
|
||||
db 1
|
||||
2
test/link/section-normal/same-name/b.asm
Normal file
2
test/link/section-normal/same-name/b.asm
Normal file
@@ -0,0 +1,2 @@
|
||||
SECTION "Same", ROM0
|
||||
db 2
|
||||
1
test/link/section-normal/same-name/out.err
Normal file
1
test/link/section-normal/same-name/out.err
Normal file
@@ -0,0 +1 @@
|
||||
error: Section "Same" is defined at section-normal/same-name/b.asm(1), but also at section-normal/same-name/a.asm(1)
|
||||
Reference in New Issue
Block a user