From 7ae3a3769ea26b1be495f5efc3115aa2ce1b4c04 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 7 Mar 2025 23:57:02 -0700 Subject: lint-bin, stack.c.gen: FIX: Handle __*_veneer functions These have to do with ARM Thumb mode. --- build-aux/lint-bin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/lint-bin b/build-aux/lint-bin index c487f36..78ed19f 100755 --- a/build-aux/lint-bin +++ b/build-aux/lint-bin @@ -104,7 +104,7 @@ lint_stack() { done < <( comm -3 \ <(sed -En 's/^included: (.*:)?//p' "${in_elffile%.elf}_stack.c" | sort -u) \ - <(readelf_funcs "$in_elffile" | sed 's/\.part\.[0-9]*$//' | sort -u)) + <(readelf_funcs "$in_elffile" | sed -E -e 's/\.part\.[0-9]*$//' -e 's/^__(.*)_veneer$/\1/' | sort -u)) } lint_func_blocklist() { -- cgit v1.2.3-2-g168b