Commit 562d139cc587fc7f7fb8e07aad13cdd2a412c9a7

Authored by Kyle McMartin
1 parent f67d4033c1

[PARISC] Port checkstack.pl to parisc

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

scripts/checkstack.pl
... ... @@ -13,6 +13,7 @@
13 13 # Random bits by Matt Mackall <mpm@selenic.com>
14 14 # M68k port by Geert Uytterhoeven and Andreas Schwab
15 15 # AVR32 port by Haavard Skinnemoen <hskinnemoen@atmel.com>
  16 +# PARISC port by Kyle McMartin <kyle@parisc-linux.org>
16 17 #
17 18 # Usage:
18 19 # objdump -d vmlinux | stackcheck.pl [arch]
... ... @@ -61,6 +62,8 @@
61 62 } elsif ($arch eq 'mips') {
62 63 #88003254: 27bdffe0 addiu sp,sp,-32
63 64 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;
  65 + } elsif ($arch eq 'parisc' || $arch eq 'parisc64') {
  66 + $re = qr/.*ldo ($x{1,8})\(sp\),sp/o;
64 67 } elsif ($arch eq 'ppc') {
65 68 #c00029f4: 94 21 ff 30 stwu r1,-208(r1)
66 69 $re = qr/.*stwu.*r1,-($x{1,8})\(r1\)/o;