ggnkua / brownout-git

A humble .elf to ST .prg binary converter
8 stars 1 forks source link

Slight errors in debug symbol addresses? #1

Open ggnkua opened 3 years ago

ggnkua commented 3 years ago

While compiling https://github.com/ggnkua/AdamIsMe ....

Symbol map is defined in data.c, but the address that it's assigned is not what it should.

It's very possible that it takes some value from extern.h where the symbol is defined as an extern. The hint here is that map gets the address of symbols near the extern in extern.h, like for example helpers. There may be an attribute we're not taking into account in the symbol of the produced elf file...