Uploaded image for project: 'rcX - Operating System'
  1. rcX - Operating System
  2. RCX-762

NXO may crash basefirmware when linked against thumb version of libgcc depending on internal file offset

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V2.1.11.2
    • Fix Version/s: V2.1.11.3, V2.1.12.0
    • Component/s: Module Loader
    • Labels:
      None
    • Account:
      SDO rcX (SDORCX)

      Description

      libgcc contains some thumb->ARM transitions in Codesourcery toolchain which are usually handled by arm-none-eabi-ld from binurils. As libgcc is compiled against ARMV4 targets it does not contain thumb-interworking code for ARMV5 architecture. The linker is expected to patch correct interworking code.

      Last bugfix RCX-759 inserted correct interworking branches, but depending on the internal offset of the linked NXO an invalid BLX instruction may be created resulting in an undefined instruction exception.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MTrensch Michael Trensch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: