gnupic: Symbol names in .cod file
Subject:
Symbol names in .cod file
From:
juan ####@####.####
Date:
31 Jan 2016 08:07:02 -0000
Message-Id: <56adc09f.e42a8c0a.75253.ffffcf17@mx.google.com>
Greetings!
I've been trying gpasm/gplink and using gpsim for simulation.
I've run into the following issue. After loading a .cod
file in gpsim, gpsim only shows file registers that have been
declared as global in the asm source files.
Doing a search inside the .cod file suggests that indeed only
the names of registers that have been declared as global are
being listed/referenced in the .cod file. I'm wondering if
there's a way to have the linker put the names of all local
registers in the .cod file?
I took a quick look at gplink's source and in cod.c found this
comment
/* All the global symbols are written. Need to figure out
what to do about the local symbols. */
Shouldn't local symbols be written as well?
TIA!