[check-def.sh] Ignore magic PPC symbols

It appears that the PowerPC Linux ABI specifies a number of magic
functions for register saves and restores which currently appear as
exported symbols in the shared object. Ignore them.
This commit is contained in:
Chris Wilson 2008-05-28 17:44:35 +01:00
parent ad9a334e2c
commit db32e5ffcc

View file

@ -37,7 +37,7 @@ for def in $defs; do
{
echo EXPORTS
eval $get_cairo_syms | grep -v '^_cairo_test_\|^_fini\|^_init' | sort -u
eval $get_cairo_syms | grep -v '^_cairo_test_\|^_fini\|^_init\|^_save[fg]pr\|^_rest[fg]pr' | sort -u
# cheat: copy the last line from the def file!
tail -n1 "$def"
} | diff "$def" - || stat=1