summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-07 23:57:02 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-09 03:09:22 -0600
commit7ae3a3769ea26b1be495f5efc3115aa2ce1b4c04 (patch)
tree366a1c85129f8f0640f0f697ada79778a557cc2f /build-aux
parent0041152b25953d19dd2642e379a81141183897eb (diff)
lint-bin, stack.c.gen: FIX: Handle __*_veneer functions
These have to do with ARM Thumb mode.
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/lint-bin2
1 files changed, 1 insertions, 1 deletions
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() {