History

[POWERPC] make checkstack work with ARCH=powerpc

This patch adds 'powerpc' architecture support to checkstack.pl.

Johannes Berg committed 20 years ago

Commit 271c5111 parent 39ed2fe1 file · +2 −0Browse files

Showing the changes to scripts/checkstack.pl (1 of 1 file). Show all

Unified · Split

scripts/checkstack.pl+2−0
@@ -62,6 +62,8 @@ my (@stack, $re, $x, $xs); · 61 unmodified lines
62 } elsif ($arch eq 'ppc64') {62 } elsif ($arch eq 'ppc64') {
63 #XXX63 #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,-16068 # 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;