[cairo-commit] src/check-def.sh

Chris Wilson ickle at kemper.freedesktop.org
Fri Jun 21 12:19:52 PDT 2013


 src/check-def.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4d9439132de85c0f0f4d5b5a474ea7164910251e
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Jun 21 20:18:40 2013 +0100

    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 at chris-wilson.co.uk>

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


More information about the cairo-commit mailing list