summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDenis Vlasenko2007-08-06 13:34:10 +0000
committerDenis Vlasenko2007-08-06 13:34:10 +0000
commiteea72123a36df9e93b55989ee9c77ba764e88485 (patch)
tree1d489f5e4c5eb5330d4634e6cf9b3ae9c70e9a8c /scripts
parent8e209c3787f3b7d7bda3915afc6df0604b60707c (diff)
downloadbusybox-eea72123a36df9e93b55989ee9c77ba764e88485.zip
busybox-eea72123a36df9e93b55989ee9c77ba764e88485.tar.gz
patch: fix -p -1 handling
checkstack.pl: add blackfin (by Alex Landau <landau_alex@yahoo.com>)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkstack.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl
index 41454ce..6f45524 100755
--- a/scripts/checkstack.pl
+++ b/scripts/checkstack.pl
@@ -39,6 +39,9 @@ my (@stack, $re, $x, $xs);
if ($arch eq 'arm') {
#c0008ffc: e24dd064 sub sp, sp, #100 ; 0x64
$re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o;
+ } elsif ($arch eq 'blackfin') {
+ # 52: 00 e8 03 00 LINK 0xc;
+ $re = qr/.*LINK (0x$x{1,5});$/o;
} elsif ($arch =~ /^i[3456]86$/) {
#c0105234: 81 ec ac 05 00 00 sub $0x5ac,%esp
$re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%esp$/o;