This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Identify Storage of String Literals in Mapfile

Is it possible to identify the storage of String Literals from the mapfile?

I asume they will be in the ?CO? segment for the module?
eg,

void func( void )
{
   code unsigned int NumConst = 1;

   printf( "NumConst = %u", NumConst );
}

Will both the integer constant NumConst and the string literal "NumConst = %u" be stored in the same ?CO? segment, or will they be listed separately in the map?

0