7 if ! which readelf 2>/dev/null >/dev/null; then
8 echo "'readelf' not found; skipping test"
12 for so in .libs/lib*.so; do
13 echo Checking $so for local PLT entries
14 # g_string_insert_c is used in g_string_append_c_inline
15 # unaliased. Couldn't find a way to fix it.
16 readelf -r $so | grep 'JU\?MP_SLOT' | grep -v '\<g_string_insert_c\>' | grep -v '\<g_atomic_[a-z]*_[sg]et\>' | grep '\<g_' && status=1