Supply a method for controlling the allocation of specific variables from the .common section

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: Low

      The files mentioned are attached. The C source file.c defines and uses this global variable.

      volatile int special_global;
      

      Code in the linker command file armlink.cmd tries to control how this variable is allocated.

          special_output_section_name
          {
             *(.common:special_global)   /* line 12 */
          } > D_MEM
      

      But it doesn't work.

      % armcl -mv7r5 --code_state=16 file.c -z -o file.out -l rtsv7R4_T_be_eabi.lib -m file.map armlink.cmd
      <Linking>
      "armlink.cmd", line 12: warning: no matching section
      

      Please supply some method for controlling the allocation of a common variable like special_global.

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

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-3659 - Supply a method for controlling the...
                SYNCHRONIZED
                • Last Sync Date: