Commit 271c511d authored by Johannes Berg's avatar Johannes Berg Committed by Paul Mackerras

[POWERPC] make checkstack work with ARCH=powerpc

This patch adds 'powerpc' architecture support to
Signed-off-by: default avatarJohannes Berg <>
Signed-off-by: default avatarPaul Mackerras <>
parent 39ed2fe6
......@@ -62,6 +62,8 @@ my (@stack, $re, $x, $xs);
} elsif ($arch eq 'ppc64') {
$re = qr/.*stdu.*r1,-($x{1,8})\(r1\)/o;
} elsif ($arch eq 'powerpc') {
$re = qr/.*st[dw]u.*r1,-($x{1,8})\(r1\)/o;
} elsif ($arch =~ /^s390x?$/) {
# 11160: a7 fb ff 60 aghi %r15,-160
$re = qr/.*ag?hi.*\%r15,-(([0-9]{2}|[3-9])[0-9]{2})/o;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment