diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-09-10 06:39:16 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-09-10 06:39:16 +0000 |
commit | f45a35921aec248e0b8494a2145b907684a21fe5 (patch) | |
tree | b21e00507445a307553ebd219326fe1fcbef362e /gdk-pixbuf/pltcheck.sh | |
parent | 77cdc290b98acd6f77922645b2a2e53d750b332d (diff) | |
download | gtk+-f45a35921aec248e0b8494a2145b907684a21fe5.tar.gz |
Commit a patch by Behdad to fix typos, omissions and other errors in the
2006-09-10 Matthias Clasen <mclasen@redhat.com>
* Commit a patch by Behdad to fix typos, omissions and other
errors in the symbol aliasing, and add checks for local PLT
entries. (#354687, Behdad Esfahbod)
Diffstat (limited to 'gdk-pixbuf/pltcheck.sh')
-rwxr-xr-x | gdk-pixbuf/pltcheck.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gdk-pixbuf/pltcheck.sh b/gdk-pixbuf/pltcheck.sh new file mode 100755 index 0000000000..7c0dd52303 --- /dev/null +++ b/gdk-pixbuf/pltcheck.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +LANG=C + +status=0 + +if ! which readelf 2>/dev/null >/dev/null; then + echo "'readelf' not found; skipping test" + exit 0 +fi + +for so in .libs/libgdk_pixbuf*.so; do + echo Checking $so for local PLT entries + readelf -r $so | grep 'JU\?MP_SLOT' | grep 'gdk_pixbuf' && status=1 +done + +exit $status |