Fix 'make check'

svn path=/trunk/; revision=5622
This commit is contained in:
Matthias Clasen 2007-07-10 17:49:46 +00:00
parent f78096e361
commit 8edc846918
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-07-10 Matthias Clasen <mclasen@redhat.com>
* glib/pltcheck.sh: Add g_once_init_enter to the whitelist of
symbols allowed to have a local PLT entry, to fix 'make check'.
Tue Jul 10 12:24:35 2007 Tim Janik <timj@imendio.com>
* glib/gthread.[hc]: implemented g_once_init_enter(),

View File

@ -13,7 +13,8 @@ for so in .libs/lib*.so; do
echo Checking $so for local PLT entries
# g_string_insert_c is used in g_string_append_c_inline
# unaliased. Couldn't find a way to fix it.
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
# Same for g_once_init_enter
readelf -r $so | grep 'JU\?MP_SLOT' | grep -v '\<g_string_insert_c\>' | grep -v '\<g_atomic_[a-z]*_[sg]et\>' | grep -v '\<g_once_init_enter\>' grep '\<g_' && status=1
done
exit $status