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

tiarmlnk generates cinit record for tiny .init_array section

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium 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.

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

              Created:
              Updated:
              Resolved: