Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-8006

Linker gives misleading warning when dot expressions used in SECTION directive for .stack section

    XMLWordPrintable

Details

    • Bug
    • Status: Accepted
    • Low
    • Resolution: Unresolved
    • Code Generation Tools
    • CODEGEN-104
    • SDSCM00018691
    • Hide
      C2000_16.9.0.LTS
      MSP430_21.6.0.LTS
      C6000_8.1.0B1
      C6000_7.4.0B1
      ARM_5.2.0B1
      MSP430_16.9.0.LTS
      ARM_15.12.0.LTS
      C6000_8.2.0
      C2000_18.1.0.LTS
      C2000_6.4.0B1
      C6000_8.3.0
      MSP430_20.2.0.LTS
      ARM_18.12.0.LTS
      C2000_21.6.0.LTS
      MSP430_15.12.0.LTS
      PRU_2.3.0
      PRU_2.2.0
      PRU_2.1.0
      ARM_20.2.0.LTS
      C2000_20.2.0.LTS
      ARM_18.1.0.LTS
      MSP430_18.1.0.LTS
      ARM_16.9.0.LTS
      C2000_22.6.0.LTS
      C2000_15.12.0.LTS
      MSP430_4.4.0B1
      MSP430_18.12.0.LTS
      C2000_18.12.0.LTS
      Show
      C2000_16.9.0.LTS MSP430_21.6.0.LTS C6000_8.1.0B1 C6000_7.4.0B1 ARM_5.2.0B1 MSP430_16.9.0.LTS ARM_15.12.0.LTS C6000_8.2.0 C2000_18.1.0.LTS C2000_6.4.0B1 C6000_8.3.0 MSP430_20.2.0.LTS ARM_18.12.0.LTS C2000_21.6.0.LTS MSP430_15.12.0.LTS PRU_2.3.0 PRU_2.2.0 PRU_2.1.0 ARM_20.2.0.LTS C2000_20.2.0.LTS ARM_18.1.0.LTS MSP430_18.1.0.LTS ARM_16.9.0.LTS C2000_22.6.0.LTS C2000_15.12.0.LTS MSP430_4.4.0B1 MSP430_18.12.0.LTS C2000_18.12.0.LTS
    • No plans to address at this time.

    Description

      If the user specifies the stack size with the linker option -stack, and also defines a .stack section in the linker command file, and also uses the "dot" operator to increase the size of .stack (e.g. . += 0x1000), the linker will emit a misleading warning message which claims the stack was created with the size specified with -stack, when actually the stack is created properly with the increased size demanded by the dot operator in the .stack section.

      Please view this forum post: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1012809/ccstudio-ccs10-1-1---arm---ti-v20-2-4-lts/3743878#3743878 for an example of the problem.

      Attachments

        Activity

          People

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: