Whitelist g_atomic_{int,pointer}_[gs]et() as we don't alias them
authorBehdad Esfahbod <behdad@gnome.org>
Wed, 13 Jun 2007 22:21:06 +0000 (22:21 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Wed, 13 Jun 2007 22:21:06 +0000 (22:21 +0000)
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

ChangeLog
glib/pltcheck.sh

index 7120642..b778d5c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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).
index b2a04b7..7c692ca 100755 (executable)
@@ -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