We've been carrying this since some time now.. Original submission: http://lists.busybox.net/pipermail/busybox/2007-August/028420.html
Signed-off-by: Bernhard Reutner-Fischer <rep.dot....@gmail.com> --- scripts/checkstack.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index 122aef5e4e14..8946fc99ad83 100755 --- a/scripts/checkstack.pl +++ b/scripts/checkstack.pl @@ -13,6 +13,7 @@ # sh64 port by Paul Mundt # Random bits by Matt Mackall <m...@selenic.com> # M68k port by Geert Uytterhoeven and Andreas Schwab +# blackfin port by Alex Landau # AArch64, PARISC ports by Kyle McMartin # sparc port by Martin Habets <errandir_n...@mph.eclipse.co.uk> # ppc64le port by Breno Leitao <lei...@debian.org> @@ -54,6 +55,9 @@ my (@stack, $re, $dre, $x, $xs, $funcre); } elsif ($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 =~ /^x86(_64)?$/ || $arch =~ /^i[3456]86$/) { #c0105234: 81 ec ac 05 00 00 sub $0x5ac,%esp # or -- 2.20.1