Skip g_bit_*(). Inline functions may end up with a local plt if the

2008-02-06  Behdad Esfahbod  <behdad@gnome.org>

        * glib/pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
        a local plt if the compiler doesn't support what we want.  Bug #514702


svn path=/trunk/; revision=6468
This commit is contained in:
Behdad Esfahbod 2008-02-06 17:35:25 +00:00 committed by Behdad Esfahbod
parent 0d7b605f06
commit 0c7fead1e6
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-02-06 Behdad Esfahbod <behdad@gnome.org>
* glib/pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
a local plt if the compiler doesn't support what we want. Bug #514702
2008-02-06 Murray Cumming <murrayc@murrayc.com> 2008-02-06 Murray Cumming <murrayc@murrayc.com>
* glib/gconvert.c: * glib/gconvert.c:

View File

@ -14,7 +14,12 @@ for so in .libs/lib*.so; do
# g_string_insert_c is used in g_string_append_c_inline # g_string_insert_c is used in g_string_append_c_inline
# unaliased. Couldn't find a way to fix it. # unaliased. Couldn't find a way to fix it.
# Same for g_once_init_enter # 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_impl\>' | 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 -v '\<g_once_init_enter_impl\>' | \
grep -v '\<g_bit_' | \
grep '\<g_' && status=1
done done
exit $status exit $status