summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/pltcheck.sh
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-09-10 06:39:16 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-09-10 06:39:16 +0000
commitf45a35921aec248e0b8494a2145b907684a21fe5 (patch)
treeb21e00507445a307553ebd219326fe1fcbef362e /gdk-pixbuf/pltcheck.sh
parent77cdc290b98acd6f77922645b2a2e53d750b332d (diff)
downloadgtk+-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-xgdk-pixbuf/pltcheck.sh17
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