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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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.

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-2875 - Corrupt .cinit record when linker r...
                SYNCHRONIZED
                • Last Sync Date: