Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.sym files miss some symbols from multiple SECTION UNIONs/FRAGMENTs #809

Closed
Rangi42 opened this issue Mar 28, 2021 · 0 comments · Fixed by #876
Closed

.sym files miss some symbols from multiple SECTION UNIONs/FRAGMENTs #809

Rangi42 opened this issue Mar 28, 2021 · 0 comments · Fixed by #876
Labels
bug Unexpected behavior / crashes; to be fixed ASAP! rgblink This affects RGBLINK
Milestone

Comments

@Rangi42
Copy link
Contributor

Rangi42 commented Mar 28, 2021

46d6652 fixed this issue for .map files but not .sym files.

The test/link/load-fragment test case demonstrates this.

$ rgbasm -E -o a.o a.asm
$ rgbasm -E -o b.o b.asm
$ rgblink -x -o ab.gb -m ab.map -n ab.sym a.o b.o

ab.map includes Label:

SRAM bank #0:
  SECTION: $a000-$a004 ($0005 bytes) ["test"]
           $a003 = Label
    SLACK: $1ffb bytes

but ab.sym is empty.

@Rangi42 Rangi42 added bug Unexpected behavior / crashes; to be fixed ASAP! rgblink This affects RGBLINK labels Mar 28, 2021
@Rangi42 Rangi42 added this to the v0.5.1 milestone Mar 28, 2021
Rangi42 added a commit to Rangi42/rgbds that referenced this issue May 2, 2021
Rangi42 added a commit to Rangi42/rgbds that referenced this issue May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected behavior / crashes; to be fixed ASAP! rgblink This affects RGBLINK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant