mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-01 15:27: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:
@@ -1,4 +1,4 @@
|
||||
error: Section "conflicting alignment" is defined with conflicting 4-byte alignment (offset 0) and address $cafe
|
||||
error: Section "conflicting alignment" is defined with 4-byte alignment (offset 0) at section-union/align-conflict.asm(7), but with address $cafe at section-union/align-conflict.asm(7)
|
||||
---
|
||||
error: <stdin>(18):
|
||||
Section already declared as aligned to 4 bytes (offset 0)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: Section "conflicting alignment" is defined with conflicting 8-byte alignment (offset 7) and 16-byte alignment (offset 14)
|
||||
error: Section "conflicting alignment" is defined with 8-byte alignment (offset 7) at section-union/align-ofs-conflict.asm(7), but with 16-byte alignment (offset 14) at section-union/align-ofs-conflict.asm(7)
|
||||
---
|
||||
error: <stdin>(18):
|
||||
Section already declared with incompatible 8-byte alignment (offset 7)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: Section "conflicting types" is defined with conflicting types HRAM and WRAM0
|
||||
error: Section "conflicting types" is defined with type HRAM at section-union/bad-types.asm(7), but with type WRAM0 at section-union/bad-types.asm(7)
|
||||
---
|
||||
error: <stdin>(18):
|
||||
Section already exists but with type HRAM
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: Section "conflicting banks" is defined with conflicting banks 4 and 1
|
||||
error: Section "conflicting banks" is defined with bank 4 at section-union/bank-conflict.asm(5), but with bank 1 at section-union/bank-conflict.asm(5)
|
||||
---
|
||||
error: <stdin>(14):
|
||||
Section already declared with different bank 4
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: Section "conflicting alignment" is defined with conflicting 8-byte alignment (offset 7) and 8-byte alignment (offset 6)
|
||||
error: Section "conflicting alignment" is defined with 8-byte alignment (offset 7) at section-union/different-ofs.asm(7), but with 8-byte alignment (offset 6) at section-union/different-ofs.asm(7)
|
||||
---
|
||||
error: <stdin>(18):
|
||||
Section already declared with incompatible 8-byte alignment (offset 7)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: Section "conflicting address" is defined with conflicting addresses $beef and $babe
|
||||
error: Section "conflicting address" is defined with address $beef at section-union/org-conflict.asm(7), but with address $babe at section-union/org-conflict.asm(7)
|
||||
---
|
||||
error: <stdin>(16):
|
||||
Section already declared as fixed at different address $beef
|
||||
|
||||
@@ -1 +1 @@
|
||||
error: "Same" both in section-union/same-export/a.o from section-union/same-export/a.asm(2) and in section-union/same-export/b.o from section-union/same-export/b.asm(2)
|
||||
error: "Same" is defined as a label at section-union/same-export/a.asm(2), but as another label at section-union/same-export/b.asm(2)
|
||||
|
||||
Reference in New Issue
Block a user