Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xcap-capability-linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xcap
xcap-capability-linux
Commits
562d139c
Commit
562d139c
authored
17 years ago
by
Kyle McMartin
Browse files
Options
Downloads
Patches
Plain Diff
[PARISC] Port checkstack.pl to parisc
Signed-off-by:
Kyle McMartin
<
kyle@mcmartin.ca
>
parent
f67d4033
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/checkstack.pl
+3
-0
3 additions, 0 deletions
scripts/checkstack.pl
with
3 additions
and
0 deletions
scripts/checkstack.pl
+
3
−
0
View file @
562d139c
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
# Random bits by Matt Mackall <mpm@selenic.com>
# Random bits by Matt Mackall <mpm@selenic.com>
# M68k port by Geert Uytterhoeven and Andreas Schwab
# M68k port by Geert Uytterhoeven and Andreas Schwab
# AVR32 port by Haavard Skinnemoen <hskinnemoen@atmel.com>
# AVR32 port by Haavard Skinnemoen <hskinnemoen@atmel.com>
# PARISC port by Kyle McMartin <kyle@parisc-linux.org>
#
#
# Usage:
# Usage:
# objdump -d vmlinux | stackcheck.pl [arch]
# objdump -d vmlinux | stackcheck.pl [arch]
...
@@ -61,6 +62,8 @@ my (@stack, $re, $x, $xs);
...
@@ -61,6 +62,8 @@ my (@stack, $re, $x, $xs);
}
elsif
(
$arch
eq
'
mips
')
{
}
elsif
(
$arch
eq
'
mips
')
{
#88003254: 27bdffe0 addiu sp,sp,-32
#88003254: 27bdffe0 addiu sp,sp,-32
$re
=
qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/
o
;
$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
')
{
}
elsif
(
$arch
eq
'
ppc
')
{
#c00029f4: 94 21 ff 30 stwu r1,-208(r1)
#c00029f4: 94 21 ff 30 stwu r1,-208(r1)
$re
=
qr/.*stwu.*r1,-($x{1,8})\(r1\)/
o
;
$re
=
qr/.*stwu.*r1,-($x{1,8})\(r1\)/
o
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment