Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36000
b: refs/heads/master
c: 0cceb4a
h: refs/heads/master
v: v3
  • Loading branch information
Franck Bui-Huu authored and Ralf Baechle committed Sep 27, 2006
1 parent 31dd17c commit e00bf40
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1666a6fc73f724cdc6bd7d699f9ada4b04953efe
refs/heads/master: 0cceb4aa9acf6192a5f02134e764b1feeea8b9de
14 changes: 6 additions & 8 deletions trunk/arch/mips/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,17 +321,15 @@ static int get_frame_info(struct mips_frame_info *info)

if (is_jal_jalr_jr_ins(ip))
break;
if (is_sp_move_ins(ip)) {
if (info->frame_size)
continue;
info->frame_size = - ip->i_format.simmediate;
if (!info->frame_size) {
if (is_sp_move_ins(ip))
info->frame_size = - ip->i_format.simmediate;
continue;
}

if (is_ra_save_ins(ip)) {
if (info->pc_offset != -1)
continue;
if (info->pc_offset == -1 && is_ra_save_ins(ip)) {
info->pc_offset =
ip->i_format.simmediate / sizeof(long);
break;
}
}
if (info->frame_size && info->pc_offset >= 0) /* nested */
Expand Down

0 comments on commit e00bf40

Please sign in to comment.