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

Rewrite R13 restoration sequence in tdeh_uwentry_t2.asm to avoid loading directly to R13

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-7692
    • Hide
      ARM_20.2.1.LTS
      ARM_18.1.8.LTS
      Show
      ARM_20.2.1.LTS ARM_18.1.8.LTS
    • Hide
      ARM_18.12.7.LTS*
      ARM_20.2.2.LTS*
      Show
      ARM_18.12.7.LTS* ARM_20.2.2.LTS*
    • default

      The compiler RTS should not contain assembly code routines that contain instructions listed in erratum 752770, yet one of these instructions is present in __TI_Install_CoreRegs, defined in tdeh_uwentry_t2.asm.  This is part of TDEH unwinding.  The instruction to restore R13 using an indirect load should be rewritten to match what is done in tdeh_uwentry16.asm (that is, load to an intermediate register and move the value to R13).

      Customers may run into this problem only when code is linked with exception handling enabled.

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

              Created:
              Updated:
              Resolved: