diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-08-22 10:57:05 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-08-24 23:30:27 -0400 |
commit | 271c511db9d37d6797745adb1f151a8bd2838c6f (patch) | |
tree | fe789181efeada6073cf3fb6d3d9b366e2f7a742 /scripts/checkstack.pl | |
parent | 39ed2fe62c39ac46cda00b1759806a297f38743b (diff) |
[POWERPC] make checkstack work with ARCH=powerpc
This patch adds 'powerpc' architecture support to checkstack.pl.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'scripts/checkstack.pl')
-rwxr-xr-x | scripts/checkstack.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index b34924663ac1..f7844f6aa487 100755 --- a/scripts/checkstack.pl +++ b/scripts/checkstack.pl | |||
@@ -62,6 +62,8 @@ my (@stack, $re, $x, $xs); | |||
62 | } elsif ($arch eq 'ppc64') { | 62 | } elsif ($arch eq 'ppc64') { |
63 | #XXX | 63 | #XXX |
64 | $re = qr/.*stdu.*r1,-($x{1,8})\(r1\)/o; | 64 | $re = qr/.*stdu.*r1,-($x{1,8})\(r1\)/o; |
65 | } elsif ($arch eq 'powerpc') { | ||
66 | $re = qr/.*st[dw]u.*r1,-($x{1,8})\(r1\)/o; | ||
65 | } elsif ($arch =~ /^s390x?$/) { | 67 | } elsif ($arch =~ /^s390x?$/) { |
66 | # 11160: a7 fb ff 60 aghi %r15,-160 | 68 | # 11160: a7 fb ff 60 aghi %r15,-160 |
67 | $re = qr/.*ag?hi.*\%r15,-(([0-9]{2}|[3-9])[0-9]{2})/o; | 69 | $re = qr/.*ag?hi.*\%r15,-(([0-9]{2}|[3-9])[0-9]{2})/o; |