We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5656572 commit 8e67c39Copy full SHA for 8e67c39
scripts/check_elf_alignment.sh
@@ -100,8 +100,13 @@ for match in $matches; do
100
if [[ $res =~ 2\*\*(1[4-9]|[2-9][0-9]|[1-9][0-9]{2,}) ]]; then
101
echo -e "${match}: ${GREEN}ALIGNED${ENDCOLOR} ($res)"
102
else
103
- echo -e "${match}: ${RED}UNALIGNED${ENDCOLOR} ($res)"
104
- unaligned_libs+=("${match}")
+ # Record failure ONLY for 64-bit ABIs (arm64-v8a / x86_64)
+ if [[ "$match" == *arm64-v8a* || "$match" == *x86_64* ]]; then
105
+ echo -e "${match}: ${RED}UNALIGNED${ENDCOLOR} ($res)"
106
+ unaligned_libs+=("${match}")
107
+ else
108
+ echo -e "${match}: ${RED}UNALIGNED (ignored 32-bit)${ENDCOLOR}"
109
+ fi
110
fi
111
done
112
0 commit comments