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

Corrupt .cinit record when linker refuses to compress a data section

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-8858
    • C7000_1.4.0.LTS
    • C7000_1.4.3.LTS*
    • default

      The linker creates .cinit sections to initialize some data, especially .data, at startup time. It tries to compress the initialization data, but sometimes it cannot, for instance when the user specifies --cinit_compression=none. In this case, the linker computes the length of the .cinit record header incorrectly, which corrupts the .cinit table and causes some data to be initialized incorrectly, leading to unpredictable results.

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

              Created:
              Updated:
              Resolved: