mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 22:37:50 +00:00
.sym file sorting accounts for local labels' parents' addresses and names (#1684)
This commit is contained in:
3
test/link/constant-parent/a.asm
Normal file
3
test/link/constant-parent/a.asm
Normal file
@@ -0,0 +1,3 @@
|
||||
section "a", rom0
|
||||
export def parent = 42
|
||||
db 1, 2, 3
|
||||
4
test/link/constant-parent/b.asm
Normal file
4
test/link/constant-parent/b.asm
Normal file
@@ -0,0 +1,4 @@
|
||||
section "b", rom0
|
||||
db 4, 5, 6
|
||||
parent.child::
|
||||
db 7, 8, 9
|
||||
0
test/link/constant-parent/out.err
Normal file
0
test/link/constant-parent/out.err
Normal file
1
test/link/constant-parent/ref.out.bin
Normal file
1
test/link/constant-parent/ref.out.bin
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
3
test/link/constant-parent/ref.out.sym
Normal file
3
test/link/constant-parent/ref.out.sym
Normal file
@@ -0,0 +1,3 @@
|
||||
; File generated by rgblink
|
||||
00:0003 parent.child
|
||||
2a parent
|
||||
Reference in New Issue
Block a user