summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkstack.pl')
-rw-r--r--scripts/checkstack.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl
index 6da1d828c2c1..13ab0bef7e03 100644
--- a/scripts/checkstack.pl
+++ b/scripts/checkstack.pl
@@ -97,11 +97,12 @@ while (my $line = <STDIN>) {
my $size = $1;
$size = hex($size) if ($size =~ /^0x/);
- if ($size > 0x80000000) {
+ if ($size > 0xf0000000) {
$size = - $size;
$size += 0x80000000;
$size += 0x80000000;
}
+ next if ($size > 0x10000000);
next if $line !~ m/^($xs*)/;
my $addr = $1;