Skip to content

Commit 271c511

Browse files
jmbergpaulusmack
authored andcommitted
[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>
1 parent 39ed2fe commit 271c511

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/checkstack.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
} elsif ($arch eq 'ppc64') {
6363
#XXX
6464
$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;
6567
} elsif ($arch =~ /^s390x?$/) {
6668
# 11160: a7 fb ff 60 aghi %r15,-160
6769
$re = qr/.*ag?hi.*\%r15,-(([0-9]{2}|[3-9])[0-9]{2})/o;

0 commit comments

Comments
 (0)