Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
562d139c
Commit
562d139c
authored
Oct 20, 2007
by
Kyle McMartin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PARISC] Port checkstack.pl to parisc
Signed-off-by:
Kyle McMartin
<
kyle@mcmartin.ca
>
parent
f67d4033
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
scripts/checkstack.pl
scripts/checkstack.pl
+3
-0
No files found.
scripts/checkstack.pl
View file @
562d139c
...
...
@@ -13,6 +13,7 @@
# Random bits by Matt Mackall <mpm@selenic.com>
# M68k port by Geert Uytterhoeven and Andreas Schwab
# AVR32 port by Haavard Skinnemoen <hskinnemoen@atmel.com>
# PARISC port by Kyle McMartin <kyle@parisc-linux.org>
#
# 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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment