From: LLVM Packaging Team Date: Wed, 30 Oct 2024 20:56:13 +0000 (+0100) Subject: openmp-check-execstack X-Git-Tag: archive/raspbian/1%19.1.3-1+rpi1~58 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=92918b03a0f7a331d5195dbf02d8b910ac847ccf;p=llvm-toolchain-19.git openmp-check-execstack =================================================================== Gbp-Pq: Topic openmp Gbp-Pq: Name openmp-check-execstack.diff --- diff --git a/openmp/runtime/tools/check-execstack.py b/openmp/runtime/tools/check-execstack.py index 9c36bd2293..891faf8cb4 100644 --- a/openmp/runtime/tools/check-execstack.py +++ b/openmp/runtime/tools/check-execstack.py @@ -30,7 +30,7 @@ def is_stack_executable_readelf(library): error("{}: Not stack segment found".format(library)) if len(stack_lines) > 1: error("{}: More than one stack segment found".format(library)) - h = r"0x[0-9a-fA-F]+" + h = r"0(?:x[0-9a-f]+)" m = re.search( r"((GNU_)?STACK)\s+({0})\s+({0})\s+({0})\s+({0})\s+({0})" " ([R ][W ][E ])".format(h),