greetings
i use metrowerks codewarrior 9.3
project uses linker macintosh 68k and palmrez postlinker (i started with these
and i only upgraded project file with newer codewarrior version - do you think
it makes sense to change it to another one? what i will gain/loose with it?
anyway this isn't the main question)
the problem is, that i need to save some global data space to fit into limit.
so far i optimized global variables, got rid of not needed virtual functions in
classes, tried to somehow optimize order of functions to minimize jumptables,
declared many locally used variables const to move them to code segment...
the problem is that after all i did when i look to generated .MAP file i see a
lot of records like this
Data: 21954 12 bytes "@11874"
i tried to disasemble the file where it appeared (was easy to find because of
names of ordinary global variables near by in map file). and i found this
section in it:
Hunk: Kind=HUNK_LOCAL_IDATA Name="@11874"(559) Size=12
00000000: 00 00 00 00 FF FF FF FF 00 00 00 00 '............'
type=VOID(0), source decl offset=20166
now from disassembly i found that i have no idea what it is...i found the place
in source where it appeared, but i am not able to find out what to do to get rid
of this 12 bytes long chunk (i have really a lot of record like this in this map
file)
btw in source it looks like that (it seems that for every group of these two
lines one @number record appears in map file
// loadItem is class variable, Item is class member function,
// var is global object
loadItem.SetVariable((MethodType)(&HP_BaseClass::Item),(CBaseClass*)((void*)this),"GetItem");
var->AddItem(&loadItem);
so the main question is - what does it mean when symbol has no name only @
followed by number (what does it represent?) and is it possible to get rid of it
somehow?
thanks for any hint.... or link with some detailed description of compiler and
linker if it exists.... i couldn't find it...
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/