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

Linker: Adding --relocatable causes sections to not allocate due to alignment

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Low Low
    • Code Generation Tools
    • CODEGEN-7932
    • Hide
      C2000_20.8.0.STS
      C2000_20.2.2.LTS
      Show
      C2000_20.8.0.STS C2000_20.2.2.LTS
    • default
    • Notified BU of work around (updating header files to mark objects as noblocked), as well as option to treat this as an enhancement, however, BU saw no reason to pursue either so rejecting.

      Extract the attached zip file to an empty directory. Run this command ...

      % cl2000 -@top_level.txt
      <Linking>
      "./f28004x_headers_nonbios.cmd", line 181: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment/blocking fails for section "Cmpss2RegsFile" size 0x20page 1.  Available memory ranges:
         CMPSS2       size: 0x20         unused: 0x20         max hole: 0x20
      "./f28004x_headers_nonbios.cmd", line 183: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment/blocking fails for section "Cmpss4RegsFile" size 0x20page 1.  Available memory ranges:
         CMPSS4       size: 0x20         unused: 0x20         max hole: 0x20
      "./f28004x_headers_nonbios.cmd", line 185: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment/blocking fails for section "Cmpss6RegsFile" size 0x20page 1.  Available memory ranges:
         CMPSS6       size: 0x20         unused: 0x20         max hole: 0x20
      
      <and many more similar errors>
      

      Comment out --relocatable in top_level.txt, and it links with no diagnostics.

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

              Created:
              Updated: