diff options
author | Maksim E. Kozlov <maksim.e.kozlov@gmail.com> | 2019-06-05 22:22:36 +0300 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-06-06 08:40:47 +0200 |
commit | a38187051863cf4a423c4f00669c6786bc8ff60d (patch) | |
tree | 81e6089217b4802e70585f491f19707acecc3db8 /cpukit/libdl | |
parent | sparc: Improve _CPU_Context_validate() (diff) | |
download | rtems-a38187051863cf4a423c4f00669c6786bc8ff60d.tar.bz2 |
sparc: Fix missed restoring of PSR in syscall_lazy_fp_switch
It is needed to restore PSR just before return because condition
codes are dirty after the CMP instructions and this may cause
undefined program behavior after returning from the switching
procedure (on following branch instruction, for example).
Close #3756.
Diffstat (limited to 'cpukit/libdl')
0 files changed, 0 insertions, 0 deletions