mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 20:42:07 +00:00
Fix section merge alignment error message (#919)
Co-authored-by: Eldred Habert <eldredhabert0@gmail.com>
This commit is contained in:
8
test/asm/incompatible-alignment.asm
Normal file
8
test/asm/incompatible-alignment.asm
Normal file
@@ -0,0 +1,8 @@
|
||||
; These section fragments have alignments that make them non-contiguous,
|
||||
; and thus are incompatible
|
||||
|
||||
SECTION FRAGMENT "Test", ROM0,ALIGN[8]
|
||||
|
||||
ds 1
|
||||
|
||||
SECTION FRAGMENT "Test", ROM0,ALIGN[8]
|
||||
4
test/asm/incompatible-alignment.err
Normal file
4
test/asm/incompatible-alignment.err
Normal file
@@ -0,0 +1,4 @@
|
||||
ERROR: incompatible-alignment.asm(8):
|
||||
Section already declared with incompatible 256-byte alignment (offset 0)
|
||||
FATAL: incompatible-alignment.asm(8):
|
||||
Cannot create section "Test" (1 error)
|
||||
0
test/asm/incompatible-alignment.out
Normal file
0
test/asm/incompatible-alignment.out
Normal file
Reference in New Issue
Block a user