[Scummvm-tracker] [ScummVM :: Bugs] #14554: PLUGINS: ELF loader doesn't handle mixed ARM and Thumb code
ScummVM :: Bugs
trac at scummvm.org
Wed Jul 26 21:21:15 UTC 2023
#14554: PLUGINS: ELF loader doesn't handle mixed ARM and Thumb code
------------------------+--------------------
Reporter: ccawley2011 | Owner: (none)
Type: defect | Status: new
Priority: blocker | Component: Ports
Version: | Keywords:
Game: |
------------------------+--------------------
The Nintendo DS port is compiled as Thumb code, and links with an ARM
build of Newlib. However, the ELF loader doesn't properly handle
relocations where ARM code in the plugin is called from Thumb code, which
results in a crash due to the program counter jumping to an invalid
address.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14554>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list