Skip to content

Commit

Permalink
[PARISC] Port checkstack.pl to parisc
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle McMartin <[email protected]>
  • Loading branch information
Kyle McMartin committed Oct 20, 2007
1 parent f67d403 commit 562d139
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/checkstack.pl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# Random bits by Matt Mackall <[email protected]>
# M68k port by Geert Uytterhoeven and Andreas Schwab
# AVR32 port by Haavard Skinnemoen <[email protected]>
# PARISC port by Kyle McMartin <[email protected]>
#
# Usage:
# objdump -d vmlinux | stackcheck.pl [arch]
Expand Down Expand Up @@ -61,6 +62,8 @@
} elsif ($arch eq 'mips') {
#88003254: 27bdffe0 addiu sp,sp,-32
$re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;
} elsif ($arch eq 'parisc' || $arch eq 'parisc64') {
$re = qr/.*ldo ($x{1,8})\(sp\),sp/o;
} elsif ($arch eq 'ppc') {
#c00029f4: 94 21 ff 30 stwu r1,-208(r1)
$re = qr/.*stwu.*r1,-($x{1,8})\(r1\)/o;
Expand Down

0 comments on commit 562d139

Please sign in to comment.