projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f67d403
)
[PARISC] Port checkstack.pl to parisc
author
Kyle McMartin
<
[email protected]
>
Sat, 20 Oct 2007 20:18:56 +0000
(13:18 -0700)
committer
Kyle McMartin
<
[email protected]
>
Sat, 20 Oct 2007 20:18:56 +0000
(13:18 -0700)
Signed-off-by: Kyle McMartin <
[email protected]
>
scripts/checkstack.pl
patch
|
blob
|
history
diff --git
a/scripts/checkstack.pl
b/scripts/checkstack.pl
index b458e2acb4acf3e035d7e3bd66a4b4687e8d5965..c3b42f99df3ba1431c31a001703bf3fee7510d08 100755
(executable)
--- a/
scripts/checkstack.pl
+++ b/
scripts/checkstack.pl
@@
-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
@@
my (@stack, $re, $x, $xs);
} 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;