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...
While compiling https://github.com/ggnkua/AdamIsMe ....
Symbol
map
is defined indata.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 thatmap
gets the address of symbols near the extern inextern.h
, like for examplehelpers
. There may be an attribute we're not taking into account in the symbol of the produced elf file...