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

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

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