History

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 ...

Mike Frysinger committed 19 years ago

Commit 1e9535a1 parent 13fbcb71 file · +3 −0Browse files

Showing the changes to scripts/checkstack.pl (1 of 1 file). Show all

Unified · Split

scripts/checkstack.pl+3−0
@@ -78,6 +78,9 @@ my (@stack, $re, $x, $xs); · 77 unmodified lines
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