commit aac3328b05905f7bcc7e7485d154d5904f6ab2da Author: Bryce Harrington Date: Sat Jun 27 00:54:33 2015 -0700 check-def.sh: Also exclude _bss symbols diff --git a/src/check-def.sh b/src/check-def.sh index beefb46..3236d60 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\|^__bss\|^_edata\|^_end' | 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\|^_bss\|^_edata\|^_end' | sort -u # cheat: copy the last line from the def file! tail -n1 "$def" } | diff "$def" - >&2 || stat=1