Skip to content

Commit 1e9535a

Browse files
vapierLinus Torvalds
authored andcommitted
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>
1 parent 13fbcb7 commit 1e9535a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/checkstack.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
# pair for larger users. -- PFM.
7979
#a00048e0: d4fc40f0 addi.l r15,-240,r15
8080
$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;
8184
} else {
8285
print("wrong or unknown architecture\n");
8386
exit

0 commit comments

Comments
 (0)