Change behavior of merging FRAGMENTs to constrain each fragment individually

Additionally, remove the deprecated merging of non-fragment SECTIONs
This commit is contained in:
ISSOtm
2021-01-21 19:41:04 +01:00
committed by Eldred Habert
parent 6623b1dc45
commit 76446e6d00
60 changed files with 604 additions and 232 deletions

View File

@@ -1,6 +1,6 @@
error: Section "conflicting alignment" is defined with conflicting 4-byte alignment (offset 0) and address $cafe
---
ERROR: <stdin>(18):
Section "conflicting alignment" already declared as aligned to 4 bytes (offset 0)
Section already declared as aligned to 4 bytes (offset 0)
FATAL: <stdin>(18):
Cannot create section "conflicting alignment" (1 errors)
Cannot create section "conflicting alignment" (1 error)

View File

@@ -1,6 +1,6 @@
error: Section "conflicting alignment" is defined with conflicting 8-byte alignment (offset 7) and 16-byte alignment (offset 14)
---
ERROR: <stdin>(18):
Section "conflicting alignment" already declared with incompatible 3-byte alignment (offset 7)
Section already declared with incompatible 3-byte alignment (offset 7)
FATAL: <stdin>(18):
Cannot create section "conflicting alignment" (1 errors)
Cannot create section "conflicting alignment" (1 error)

View File

@@ -1,6 +1,6 @@
error: Section "conflicting types" is defined with conflicting types HRAM and WRAM0
---
ERROR: <stdin>(18):
Section "conflicting types" already exists but with type HRAM
Section already exists but with type HRAM
FATAL: <stdin>(18):
Cannot create section "conflicting types" (1 errors)
Cannot create section "conflicting types" (1 error)

View File

@@ -1,6 +1,6 @@
error: Section "conflicting banks" is defined with conflicting banks 4 and 1
---
ERROR: <stdin>(14):
Section "conflicting banks" already declared with different bank 4
Section already declared with different bank 4
FATAL: <stdin>(14):
Cannot create section "conflicting banks" (1 errors)
Cannot create section "conflicting banks" (1 error)

View File

@@ -3,4 +3,4 @@ error: Section "overlaid data" is of type ROM0, which cannot be unionized
ERROR: <stdin>(18):
Cannot declare ROM sections as UNION
FATAL: <stdin>(18):
Cannot create section "overlaid data" (1 errors)
Cannot create section "overlaid data" (1 error)

View File

@@ -3,4 +3,4 @@ error: Section "different data" is of type ROM0, which cannot be unionized
ERROR: <stdin>(16):
Cannot declare ROM sections as UNION
FATAL: <stdin>(16):
Cannot create section "different data" (1 errors)
Cannot create section "different data" (1 error)

View File

@@ -1,6 +1,6 @@
error: Section "conflicting alignment" is defined with conflicting 8-byte alignment (offset 7) and 8-byte alignment (offset 6)
---
ERROR: <stdin>(18):
Section "conflicting alignment" already declared with incompatible 3-byte alignment (offset 7)
Section already declared with incompatible 3-byte alignment (offset 7)
FATAL: <stdin>(18):
Cannot create section "conflicting alignment" (1 errors)
Cannot create section "conflicting alignment" (1 error)

View File

@@ -3,4 +3,4 @@ error: Section "different section sizes" is of type ROM0, which cannot be unioni
ERROR: <stdin>(16):
Cannot declare ROM sections as UNION
FATAL: <stdin>(16):
Cannot create section "different section sizes" (1 errors)
Cannot create section "different section sizes" (1 error)

View File

@@ -3,4 +3,4 @@ error: Section "different syntaxes" is of type ROM0, which cannot be unionized
ERROR: <stdin>(18):
Cannot declare ROM sections as UNION
FATAL: <stdin>(18):
Cannot create section "different syntaxes" (1 errors)
Cannot create section "different syntaxes" (1 error)

View File

@@ -1,6 +1,6 @@
error: Section "conflicting address" is defined with conflicting addresses $beef and $babe
---
ERROR: <stdin>(16):
Section "conflicting address" already declared as fixed at different address $beef
Section already declared as fixed at different address $beef
FATAL: <stdin>(16):
Cannot create section "conflicting address" (1 errors)
Cannot create section "conflicting address" (1 error)

View File

@@ -3,4 +3,4 @@ error: Section "mutually-overlaid data" is of type ROM0, which cannot be unioniz
ERROR: <stdin>(18):
Cannot declare ROM sections as UNION
FATAL: <stdin>(18):
Cannot create section "mutually-overlaid data" (1 errors)
Cannot create section "mutually-overlaid data" (1 error)