Browse Source

checkstack.pl: tweak bfin re

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 5 years ago
parent
commit
774879c4e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/checkstack.pl

+ 1 - 1
scripts/checkstack.pl

@@ -65,7 +65,7 @@ my (@stack, $re, $dre, $x, $xs, $funcre);
 		$dre = qr/^.*[as][du][db]    (%.*),\%(e|r)sp$/o;
 	} elsif ($arch eq 'blackfin') {
 		#      52:       00 e8 03 00     LINK 0xc;
-		$re = qr/.*LINK (0x$x{1,5});$/o;
+		$re = qr/.*[[:space:]]LINK[[:space:]]*(0x$x{1,8})/o;
 	} elsif ($arch eq 'ia64') {
 		#e0000000044011fc:       01 0f fc 8c     adds r12=-384,r12
 		$re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o;