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