diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-10-17 02:27:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:54 -0400 |
commit | 1e9535a591cf003e77c822da0e329a733705e80b (patch) | |
tree | d4f554fdde7efdc6aac6a099b44ecdb89de0583a /scripts/checkstack.pl | |
parent | 13fbcb731220341537131b32cf01b1e70df7206d (diff) |
Add stack checking for Blackfin
Simply fill out the bits in checkstack.pl for Blackfin. I thought I already
sent this, but I don't see it in -mm anywhere ...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/checkstack.pl')
-rwxr-xr-x | scripts/checkstack.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index 663158627155..b458e2acb4ac 100755 --- a/scripts/checkstack.pl +++ b/scripts/checkstack.pl | |||
@@ -78,6 +78,9 @@ my (@stack, $re, $x, $xs); | |||
78 | # pair for larger users. -- PFM. | 78 | # pair for larger users. -- PFM. |
79 | #a00048e0: d4fc40f0 addi.l r15,-240,r15 | 79 | #a00048e0: d4fc40f0 addi.l r15,-240,r15 |
80 | $re = qr/.*addi\.l.*r15,-(([0-9]{2}|[3-9])[0-9]{2}),r15/o; | 80 | $re = qr/.*addi\.l.*r15,-(([0-9]{2}|[3-9])[0-9]{2}),r15/o; |
81 | } elsif ($arch =~ /^blackfin$/) { | ||
82 | # 0: 00 e8 38 01 LINK 0x4e0; | ||
83 | $re = qr/.*[[:space:]]LINK[[:space:]]*(0x$x{1,8})/o; | ||
81 | } else { | 84 | } else { |
82 | print("wrong or unknown architecture\n"); | 85 | print("wrong or unknown architecture\n"); |
83 | exit | 86 | exit |