openmp-check-execstack
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 16 Dec 2021 16:49:22 +0000 (16:49 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Thu, 16 Dec 2021 16:49:22 +0000 (16:49 +0000)
===================================================================

Gbp-Pq: Topic openmp
Gbp-Pq: Name openmp-check-execstack.diff

openmp/runtime/tools/check-execstack.pl

index e4a8e7c883ab3187c9ee3dcf9c29b6f0032b4023..44aec1728bfef41979923c2463938adca2e1328b 100755 (executable)
@@ -45,7 +45,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;