Whitelist g_atomic_{int,pointer}_[gs]et() as we don't alias them

2007-06-13  Behdad Esfahbod  <behdad@gnome.org>

        * glib/pltcheck.sh: Whitelist g_atomic_{int,pointer}_[gs]et() as
        we don't alias them intentionally.


svn path=/trunk/; revision=5556
This commit is contained in:
Behdad Esfahbod 2007-06-13 22:21:06 +00:00 committed by Behdad Esfahbod
parent ecab745847
commit 157abb2da4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-06-13 Behdad Esfahbod <behdad@gnome.org>
* glib/pltcheck.sh: Whitelist g_atomic_{int,pointer}_[gs]et() as
we don't alias them intentionally.
2007-06-13 Sven Neumann <sven@gimp.org>
* glib/gslice.[ch] added g_slice_copy() and g_slice_dup() (#442029).

View File

@ -13,7 +13,7 @@ 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 '\<g_' && status=1
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
done
exit $status