Allow _GLOBAL_OFFSET_TABLE_ usage

This commit is contained in:
2024-03-20 12:39:18 -07:00
parent ef224a60f4
commit cdb5360b9a
+1 -1
View File
@@ -3,4 +3,4 @@
set -euo pipefail set -euo pipefail
diff -u <(sort < "$2") <(nm "$1" | grep " T " | cut -f3 -d " " | sort) diff -u <(sort < "$2") <(nm "$1" | grep " T " | cut -f3 -d " " | sort)
nm "$1" | grep " U " | (! grep -Pv 'abort|free|malloc|mem[a-z]*|__ashlti3|__stack_chk_[a-z]*|__tls_get_addr') nm "$1" | grep " U " | (! grep -Pv 'abort|free|malloc|mem[a-z]*|__ashlti3|__stack_chk_[a-z]*|__tls_get_addr|_GLOBAL_OFFSET_TABLE_')