This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

ARM TI code generation tools: armofd.exe truncates long names

Expert 6270 points

Replies: 4

Views: 990

Hi,

I am running the command: armofd.exe --obj_display=none,sections Dem_Client.o

code generation tools: ti-cgt-arm_5.2.5\bin

But I notice that the sections names are truncated when it reaches a certain length.
Please see the sample output below.

How can I display the full text of the section name without converting the output into XML?


Copied from Command Prompt
====================================================================
arm\bin>armofd.exe --obj_display=none,sections Dem_Client.o

OBJECT FILE:  Dem_Client.o

 Section Information

    id name                      load addr  run addr    size align alloc
    -- ----                      ---------  --------    ---- ----- -----
     0 (no name)                 0x00000000 0x00000000   0x0     0   N
     1 .text                     0x00000000 0x00000000   0x0     2   Y
     2 .data                     0x00000000 0x00000000   0x8     4   Y
     3 .bss:Dem_TxData           0x00000000 0x00000000 0x120     2   Y
     4 .text:Dem_SetEvStatusF... 0x00000000 0x00000000  0x3c     4   Y
     5 .text:Dem_SaveErrorPre... 0x00000000 0x00000000  0x90     4   Y
     6 .text:Dem_ReportErrorS... 0x00000000 0x00000000  0x48     4   Y
     7 .text:Dem_GetEventIdValid 0x00000000 0x00000000  0x38     2   Y
     8 .text:Dem_SetEventStatus  0x00000000 0x00000000  0x30     4   Y
     9 .text:Dem_ResetSlaveEv... 0x00000000 0x00000000   0xc     4   Y
    10 .text:Dem_InitHwErrors    0x00000000 0x00000000  0x10     4   Y
    11 .text:Dem_InitPreExtData  0x00000000 0x00000000  0x28     4   Y
    12 .text:Dem_PreInit         0x00000000 0x00000000  0x58     4   Y
    13 .text:Dem_TaskSlaveEve... 0x00000000 0x00000000  0x40     4   Y
    14 .text:Dem_MainFunction    0x00000000 0x00000000  0x1c     4   Y
    15 .text:Dem_Init            0x00000000 0x00000000  0x1c     4   Y
    16 .ARM.attributes           0x00000000 0x00000000  0x58     0   N
    17 .symtab                   0x00000000 0x00000000 0x780     0   N
    18 .rel.text:Dem_SetEvSta... 0x00000000 0x00000000  0x18     0   N
    19 .rel.text:Dem_SaveErro... 0x00000000 0x00000000  0x30     0   N
    20 .rel.text:Dem_ReportEr... 0x00000000 0x00000000  0x28     0   N
    21 .rel.text:Dem_GetEvent... 0x00000000 0x00000000   0x8     0   N
    22 .rel.text:Dem_SetEvent... 0x00000000 0x00000000  0x20     0   N
    23 .rel.text:Dem_InitHwEr... 0x00000000 0x00000000  0x10     0   N
    24 .rel.text:Dem_InitPreE... 0x00000000 0x00000000  0x10     0   N
    25 .rel.text:Dem_PreInit     0x00000000 0x00000000  0x58     0   N
    26 .rel.text:Dem_TaskSlav... 0x00000000 0x00000000  0x38     0   N
    27 .rel.text:Dem_MainFunc... 0x00000000 0x00000000  0x18     0   N
    28 .rel.text:Dem_ResetSla... 0x00000000 0x00000000   0x8     0   N
    29 .rel.text:Dem_Init        0x00000000 0x00000000  0x10     0   N
    30 .TI.symbol.alias          0x00000000 0x00000000   0x9     0   N
    31 .TI.section.flags         0x00000000 0x00000000  0x1a     0   N
    32 .strtab                   0x00000000 0x00000000 0x665     0   N
    33 .shstrtab                 0x00000000 0x00000000 0x310     0   N

  • Thorsten Lorenzen
    How can I display the full text of the section name without converting the output into XML?

    Use the option --verbose, or -v for short.

    Thanks and regards,

    -George


    TI C/C++ Compiler Forum Moderator
    Please click This Resolved My Issue on the best reply to your question
    The CCS Youtube Channel
     has short how-to videos
    The 
    Compiler Wiki answers most common questions
    Track an issue with SDOWP. Enter your bug id in the Search box.

  • In reply to George Mock:

    Thank you very much George. don't know why however didn't get notified of your response by mail. Any idea why this is happened? Just i case you know.

    Many thanks again
    Thorsten
  • In reply to Thorsten Lorenzen:

    Thorsten Lorenzen
    Any idea why this is happened?

    Make sure you forum e-mail settings are what you expect.  In the upper right corner, click on your avatar.  Then click on Settings | E2E email preferences.  If that all looks right, then I don't know what happened.

    Thanks and regards,

    -George


    TI C/C++ Compiler Forum Moderator
    Please click This Resolved My Issue on the best reply to your question
    The CCS Youtube Channel
     has short how-to videos
    The 
    Compiler Wiki answers most common questions
    Track an issue with SDOWP. Enter your bug id in the Search box.

  • In reply to George Mock:

    Hi George, thanks again for your help. 

    1. Yes the options you mentioned for armofd.exe worked out very well. 

    2. Thanks for referring to the preferences. Lately, I added notification. Now I'm notified over email. So no reason to miss responses from you again. 

    Many thanks again.

    Happy new year 

    Thorsten

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.