1 #!/bin/sh 2 3 LANG=C 4 5 status=0 6 7 if ! which readelf 2>/dev/null >/dev/null; then 8 echo "'readelf' not found; skipping test" 9 exit 0 10 fi 11 12 for so in .libs/lib*.so; do 13 echo Checking $so for local PLT entries 14 readelf -r $so | grep 'JU\?MP_SLOT\?' | grep '\<g_type_\|\<g_boxed_\|\<g_value_\|\<g_cclosure_\|\<g_closure_\|\<g_signal\|\<g_enum_\|\<g_flags_\|\<g_io_\|\<g_object_\|\<g_param_' && status=1 15 done 16 17 exit $status 18