> But you can see that this link map shows no > functions under those files. That only leaves some kind of > persistent data, right?
WRONG! <bangs head repeatedly> OW! After I posted my last message I realized what must be going on. When I do a build where no functions have segment annotations on them, then all functions that are missing a prototype will land in the .text segment. I assumed that because the memory map didn't show any functions that none were actually there. Wrong. The memory map must only be showing functions that are callable from outside the compilation unit (i.e. not marked as static). That explains the discrepancy in sizes between the .text segments from the two builds. When prototypes aren't declared for those utility functions that are not exposed outside the compilation unit, they land in the .text segment and the memory map doesn't tell me that they are there -- only that SOMETHING from that object file is there. It seems that that extra something can be persistent data or file-scoped static functions. Rick Reynolds -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
