mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-03 16:27:47 +00:00
Sort .sym files in ascending order, and test for it (#1355)
This commit is contained in:
15
test/link/symbols/a.asm
Normal file
15
test/link/symbols/a.asm
Normal file
@@ -0,0 +1,15 @@
|
||||
SECTION "alpha", ROM0
|
||||
Alpha::
|
||||
db 1, 2, 3
|
||||
End:
|
||||
|
||||
SECTION "a", WRAM0
|
||||
wAlpha::
|
||||
ds 3
|
||||
.End::
|
||||
|
||||
SECTION UNION "U", WRAM0
|
||||
wStart:
|
||||
.word1: dw
|
||||
.word2: dw
|
||||
wEnd:
|
||||
14
test/link/symbols/b.asm
Normal file
14
test/link/symbols/b.asm
Normal file
@@ -0,0 +1,14 @@
|
||||
SECTION "beta", ROM0
|
||||
Beta::
|
||||
db 4, 5, 6
|
||||
End:
|
||||
|
||||
SECTION "b", WRAM0
|
||||
wBeta::
|
||||
ds 3
|
||||
.End::
|
||||
|
||||
SECTION UNION "U", WRAM0
|
||||
wStart:
|
||||
.long1: dl
|
||||
wEnd:
|
||||
0
test/link/symbols/out.err
Normal file
0
test/link/symbols/out.err
Normal file
BIN
test/link/symbols/ref.out.bin
Normal file
BIN
test/link/symbols/ref.out.bin
Normal file
Binary file not shown.
16
test/link/symbols/ref.out.sym
Normal file
16
test/link/symbols/ref.out.sym
Normal file
@@ -0,0 +1,16 @@
|
||||
; File generated by rgblink
|
||||
00:0000 Beta
|
||||
00:0003 End
|
||||
00:0003 Alpha
|
||||
00:0006 End
|
||||
00:c000 wStart
|
||||
00:c000 wStart
|
||||
00:c000 wStart.long1
|
||||
00:c000 wStart.word1
|
||||
00:c002 wStart.word2
|
||||
00:c004 wEnd
|
||||
00:c004 wEnd
|
||||
00:c004 wBeta
|
||||
00:c007 wBeta.End
|
||||
00:c007 wAlpha
|
||||
00:c00a wAlpha.End
|
||||
Reference in New Issue
Block a user