diff options
Diffstat (limited to 'scripts/checkstack.pl')
| -rwxr-xr-x | scripts/checkstack.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index 34414c6efad6..122aef5e4e14 100755 --- a/scripts/checkstack.pl +++ b/scripts/checkstack.pl | |||
| @@ -48,7 +48,9 @@ my (@stack, $re, $dre, $x, $xs, $funcre); | |||
| 48 | $funcre = qr/^$x* <(.*)>:$/; | 48 | $funcre = qr/^$x* <(.*)>:$/; |
| 49 | if ($arch eq 'aarch64') { | 49 | if ($arch eq 'aarch64') { |
| 50 | #ffffffc0006325cc: a9bb7bfd stp x29, x30, [sp, #-80]! | 50 | #ffffffc0006325cc: a9bb7bfd stp x29, x30, [sp, #-80]! |
| 51 | #a110: d11643ff sub sp, sp, #0x590 | ||
| 51 | $re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o; | 52 | $re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o; |
| 53 | $dre = qr/^.*sub.*sp, sp, #(0x$x{1,8})/o; | ||
| 52 | } elsif ($arch eq 'arm') { | 54 | } elsif ($arch eq 'arm') { |
| 53 | #c0008ffc: e24dd064 sub sp, sp, #100 ; 0x64 | 55 | #c0008ffc: e24dd064 sub sp, sp, #100 ; 0x64 |
| 54 | $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o; | 56 | $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o; |
