• Max Filippov's avatar
    target-xtensa: add missing window check for entry · 1b3e71f8
    Max Filippov authored
    Entry opcode needs to check if moving to new register frame would cause
    register window overflow. Entry used in function prologue never
    overflows because preceding windowed call* opcode writes return address
    to the target register window frame, causing overflow exceptions at the
    point of call. But when a sequence of entry opcodes is used for register
    window spilling there may not be a call or other opcode that would cause
    window check between entries and they would not raise overflow exception
    themselves resulting in data corruption.
    
    Cc: qemu-stable@nongnu.org
    Signed-off-by: 's avatarMax Filippov <jcmvbkbc@gmail.com>
    1b3e71f8
Name
Last commit
Last update
..
core-dc232b Loading commit data...
core-dc233c Loading commit data...
core-fsf Loading commit data...
Makefile.objs Loading commit data...
core-dc232b.c Loading commit data...
core-dc233c.c Loading commit data...
core-fsf.c Loading commit data...
cpu-qom.h Loading commit data...
cpu.c Loading commit data...
cpu.h Loading commit data...
gdbstub.c Loading commit data...
helper.c Loading commit data...
helper.h Loading commit data...
import_core.sh Loading commit data...
op_helper.c Loading commit data...
overlay_tool.h Loading commit data...
translate.c Loading commit data...
xtensa-semi.c Loading commit data...