History

[PARISC] Port checkstack.pl to parisc

Kyle McMartin committed 19 years ago

Commit 562d1391 parent f67d4031 file · +3 −0Browse files

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

Unified · Split

scripts/checkstack.pl+3−0
@@ -13,6 +13,7 @@ · 12 unmodified lines
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 @@ my (@stack, $re, $x, $xs); · 42 unmodified lines
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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t