summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2019-08-01 03:18:11 -0700
committerLinux Build Service Account <lnxbuild@localhost>2019-08-01 03:18:11 -0700
commit12f1cbf68dc1628166291cc338457cdd752dac49 (patch)
treea25f2f1b4643a0f7ed518dc4d6892369fc1da4ca /scripts/checkstack.pl
parentb67de9bff3349bd73a16cecef3f1c3ef3806d3ed (diff)
parent80cb08efce94fb197b05bc1c9dfaeb72a765eb96 (diff)
Merge 80cb08efce94fb197b05bc1c9dfaeb72a765eb96 on remote branch
Change-Id: I270427b762a19e22283edf694d7ca2585a228ad1
Diffstat (limited to 'scripts/checkstack.pl')
-rwxr-xr-xscripts/checkstack.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl
index 12a6940741fe..b8f616545277 100755
--- a/scripts/checkstack.pl
+++ b/scripts/checkstack.pl
@@ -45,7 +45,7 @@ my (@stack, $re, $dre, $x, $xs, $funcre);
$x = "[0-9a-f]"; # hex character
$xs = "[0-9a-f ]"; # hex character or space
$funcre = qr/^$x* <(.*)>:$/;
- if ($arch eq 'aarch64') {
+ if ($arch =~ '^(aarch|arm)64$') {
#ffffffc0006325cc: a9bb7bfd stp x29, x30, [sp, #-80]!
$re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o;
} elsif ($arch eq 'arm') {