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

LTO: linker should include undefined symbols that are referenced from a static function in the IR symbol table that is passed to the LTO recompile

    XMLWordPrintable

Details

    • Bug
    • Status: Fixed
    • High
    • Resolution: Fixed
    • Code Generation Tools
    • CODEGEN-10067
    • ARMCLANG_2.1.1.LTS
    • ARMCLANG_2.1.1.LTS
    • default
    • Hide
      This issue should not arise when using the 2.1.0.LTS (or later) version of the TI Arm Clang Compiler Tools since a fix to a related issue https://sir.ext.ti.com/jira/browse/EXT_EP-10829 will prevent the linker from failing due to this issue.
      Show
      This issue should not arise when using the 2.1.0.LTS (or later) version of the TI Arm Clang Compiler Tools since a fix to a related issue https://sir.ext.ti.com/jira/browse/EXT_EP-10829 will prevent the linker from failing due to this issue.

    Description

      An externally defined symbol that is referenced from a static function or variable whose section is included in the reference graph should be included in the intermediate representation's symbol table that is presented to the link-time optimizer for recompilation.

      For example, if t1.c contains a static function definition that references RTS functions expf and logf and the address of the static function is made available in a data object that is externally accessible, then the expf and logf symbols should be recognized and included in t1.o's intermediate representation module as legitimate unresolved symbol references.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: