In the map file MEMORY CONFIGURATION table, the column "used" may be less than the correct value

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Medium

      The attached hello.c is a simple hello world program. Build it ...

      % cl2000 hello.c -z -o hello.out -m hello.map
      <Linking>
      

      Then inspect the map file. In the MEMORY CONFIGURATION table, this shows ...

        DATA                  00000000   00010000  00000ad0  0000f530  RW  
      

      The fourth column is how much of the memory range is used, which is 0xad0 words in this case.

      However, looking at the highest section allocated to DATA, this shows ...

      .cio       1    000009c0    00000120     UNINITIALIZED
                        000009c0    00000120     rts2800_ml.lib : trgmsg.c.obj (.cio)
      

      Note that 0x9c0+0x120 = 0xae0, and not 0xad0.

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-2293 - In the map file MEMORY CONFIGURATIO...
                SYNCHRONIZED
                • Last Sync Date: