Skip to content
Snippets Groups Projects
Commit 2d0ca414 authored by Oskar Viljasaar's avatar Oskar Viljasaar
Browse files

Import openwrt pending patch 102-MIPS-only-process-negative-stack-offsets-on-stack-tr

parent 43b1958f
No related branches found
No related tags found
No related merge requests found
......@@ -361,6 +361,8 @@ static inline int is_sp_move_ins(union mips_instruction *ip, int *frame_size)
if (ip->i_format.opcode == addiu_op ||
ip->i_format.opcode == daddiu_op) {
if (ip->i_format.simmediate > 0)
return 0;
*frame_size = -ip->i_format.simmediate;
return 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment