summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-06-21 19:18:40 (GMT)
committerChris Wilson <chris@chris-wilson.co.uk>2013-06-21 19:18:40 (GMT)
commit4d9439132de85c0f0f4d5b5a474ea7164910251e (patch)
tree1d0935e7af3098973324020793bdf66b2f5a4e27
parent7b80613d6d483cdfd5d0c6311de0f8586092b408 (diff)
downloadcairo-4d9439132de85c0f0f4d5b5a474ea7164910251e.tar.gz
cairo-4d9439132de85c0f0f4d5b5a474ea7164910251e.tar.xz
check: Fix check-def.sh for variations in GCC's linker
We now need to exclude bss and data sections from the symbol list. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rwxr-xr-xsrc/check-def.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check-def.sh b/src/check-def.sh
index 9008c58..beefb46 100755
--- a/src/check-def.sh
+++ b/src/check-def.sh
@@ -39,7 +39,7 @@ for def in $defs; do
{
echo EXPORTS
- eval $get_cairo_syms | c++filt --no-params | grep -v '^_cairo_test_\|^_fini\|^_init\|^_save[fg]pr\|^_rest[fg]pr\|^_Z\|^__gnu' | sort -u
+ eval $get_cairo_syms | c++filt --no-params | grep -v '^_cairo_test_\|^_fini\|^_init\|^_save[fg]pr\|^_rest[fg]pr\|^_Z\|^__gnu\|^__bss\|^_edata\|^_end' | sort -u
# cheat: copy the last line from the def file!
tail -n1 "$def"
} | diff "$def" - >&2 || stat=1