checkstack.pl: tweak bfin re
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 18 Jan 2019 08:56:19 +0000 (09:56 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 18 Jan 2019 08:56:19 +0000 (09:56 +0100)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
scripts/checkstack.pl

index 7833554c8e73db49bcad76a818153531654937f7..cf912e0fbbc6532f487fd2c2f1306a80f2d90173 100755 (executable)
@@ -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;