Skip to content

Commit 562d139

Browse files
author
Kyle McMartin
committed
[PARISC] Port checkstack.pl to parisc
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
1 parent f67d403 commit 562d139

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/checkstack.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# Random bits by Matt Mackall <mpm@selenic.com>
1414
# M68k port by Geert Uytterhoeven and Andreas Schwab
1515
# AVR32 port by Haavard Skinnemoen <hskinnemoen@atmel.com>
16+
# PARISC port by Kyle McMartin <kyle@parisc-linux.org>
1617
#
1718
# Usage:
1819
# objdump -d vmlinux | stackcheck.pl [arch]
@@ -61,6 +62,8 @@
6162
} elsif ($arch eq 'mips') {
6263
#88003254: 27bdffe0 addiu sp,sp,-32
6364
$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;
6467
} elsif ($arch eq 'ppc') {
6568
#c00029f4: 94 21 ff 30 stwu r1,-208(r1)
6669
$re = qr/.*stwu.*r1,-($x{1,8})\(r1\)/o;

0 commit comments

Comments
 (0)