Xtensa [patch] Update call0 volatile register list
Original Reporter info from Mantis: ccrause @ccrause
-
Reporter name: Christo Crause
Original Reporter info from Mantis: ccrause @ccrause
- Reporter name: Christo Crause
Description:
I've ran into problems where calling malloc from the toolchain resulted in corrupt registers. The Xtensa ISA states that the callee-saved registers are a11 - a15, the rest are caller saved.
Attached a patch that updates the get_volatile_registers_int function for call0 to return a0 - a11, which fixed my problem.
Mantis conversion info:
- Mantis ID: 37317
- Build: 45742
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 45749 (#91149df8)