From 625c8c8311c4c5d2a93421712cf5ab6fa5018911 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Fri, 14 Mar 2025 10:48:31 +0100 Subject: [PATCH] openmp-check-execstack =================================================================== Gbp-Pq: Topic openmp Gbp-Pq: Name openmp-check-execstack.diff --- openmp/runtime/tools/check-execstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.30.2