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

palign(8) of .init_array messes up __TI_INITARRAY_Limit address

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-2286
    • Hide
      PRU_2.2.0
       C6000_8.2.0
       ARP32_1.1.0*
      Show
      PRU_2.2.0  C6000_8.2.0  ARP32_1.1.0*
    • Hide
      PRU_2.2.0
       ARP32_1.1.0*
       ARP32_1.0.9
      Show
      PRU_2.2.0  ARP32_1.1.0*  ARP32_1.0.9
    • Hide
      In the linker command file, replace
       .init_array > FLASH, palign(8), fill = 0xffffffff
      with the following GROUP statement:
      GROUP
      {
          .init_array
      } > FLASH, palign(8)

      The palign(8) on GROUP will ensure that any required padding is added after .init_array. However, both the size of .init_array and the value of __TI_INITARRAY_Limit remain unchanged.
      Show
      In the linker command file, replace  .init_array > FLASH, palign(8), fill = 0xffffffff with the following GROUP statement: GROUP {     .init_array } > FLASH, palign(8) The palign(8) on GROUP will ensure that any required padding is added after .init_array. However, both the size of .init_array and the value of __TI_INITARRAY_Limit remain unchanged.
    • Applying palign(8) to .init_array caused __TI_INIT_ARRAY_Limit to be set to the end of .init_array including the padding. This b...

      palign(8) of .init_array messes up __TI_INITARRAY_Limit address

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

              Created:
              Updated:
              Resolved: