forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PARISC] Port checkstack.pl to parisc
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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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; | ||
|