From: LLVM Packaging Team Date: Wed, 7 Aug 2019 13:11:36 +0000 (+0100) Subject: openmp-check-execstack X-Git-Tag: archive/raspbian/1%8.0.1-3+rpi1~2^2~47 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=917c6776b9a288681128bd4fbb806cd7429085ac;p=llvm-toolchain-8.git openmp-check-execstack =================================================================== Gbp-Pq: Topic openmp Gbp-Pq: Name openmp-check-execstack.diff --- diff --git a/openmp/runtime/tools/check-execstack.pl b/openmp/runtime/tools/check-execstack.pl index cf247425a..8fc073b59 100755 --- a/openmp/runtime/tools/check-execstack.pl +++ b/openmp/runtime/tools/check-execstack.pl @@ -46,7 +46,8 @@ sub execstack($) { # GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4 # Linux* OS Intel(R) 64: # GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RWE 0x8 - if ( $stack[ 0 ] !~ m{\A\s*(?:GNU_)?STACK(?:\s+0x[0-9a-f]+){5}\s+([R ][W ][E ])\s+0x[0-9a-f]+\s*\z} ) { +# if ( $stack[ 0 ] !~ m{\A\s*(?:GNU_)?STACK(?:\s+0x[0-9a-f]+){5}\s+([R ][W ][E ])\s+0x[0-9a-f]+\s*\z} ) { + if ( $stack[ 0 ] !~ m{\A\s*(?:GNU_)?STACK(?:\s+0x[0-9a-f]+){5}\s+([R ][W ][E ])\s+0(?:x[0-9a-f]+)*\s*\z} ) { runtime_error( "$file: Cannot parse stack segment line:", ">>> $stack[ 0 ]" ); }; # if my $attrs = $1;