tiarmlnk generates cinit record for tiny .init_array section

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-8899
    • ARMCLANG_1.3.0.BETA1
    • ARMCLANG_1.3.0.LTS
    • default

      Compiling and linking a simple C++ "Hello World" program such as the following:

      #include <iostream>
      using namespace std;

      int main()

      { cout << "Hello World\n"; return 0; }

      will cause the linker to generate an auto-initialization record for the compiler-generated .init_array section that is larger than the actual .init_array section.

      If possible, the linker should avoid generating an auto-initialization record for the .init_array section when it is inefficient to do so.

            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-2882 - tiarmlnk generates cinit record for...
                SYNCHRONIZED
                • Last Sync Date: