diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-08-11 04:10:18 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-08-11 04:10:18 +0000 |
commit | f4437de139e5d20219c84f54b9e8c20dbf32ceb7 (patch) | |
tree | 6b5a81ad36c60f7fe985d7c40eb61abec1f9e556 /gdk-pixbuf/abicheck.sh | |
parent | 4a465af574c6e0f3ded49578492364ca2ad9a6fe (diff) | |
download | gtk+-f4437de139e5d20219c84f54b9e8c20dbf32ceb7.tar.gz |
Add hidden aliases for exported symbols which are used internally in order
Tue Aug 10 23:53:59 2004 Matthias Clasen <maclas@gmx.de>
Add hidden aliases for exported symbols which are
used internally in order to get rid of many PLT
entries. (#145519, Arjan van de Ven)
* gdk/Makefile.am: Add rules to generate gdk_pixbuf.def and
gdk-pixbuf-alias.h from gdk-pixbuf.symbols, and make make
check check the abi with abicheck.sh.
* gdk/gdk-pixbuf.symbols: New file. Definition of the gdk-pixbuf
ABI. The file can be processed by cpp to filter out certain
subsets of symbols.
* gdk/abicheck.sh: New file. Script to check the actually
symbols exported from libgdk_pibuf.2.0.so against the symbols
found in gdk-pixbuf.symbols.
* gdk/makegdkpixbufalias.pl: New file. Perl script to generate the
header containing the alias definitions for internally used
exported symbols from a list of symbols.
* *.c: Include gdk-pixbuf-alias.h
Diffstat (limited to 'gdk-pixbuf/abicheck.sh')
-rwxr-xr-x | gdk-pixbuf/abicheck.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk-pixbuf/abicheck.sh b/gdk-pixbuf/abicheck.sh new file mode 100755 index 0000000000..9363c889d1 --- /dev/null +++ b/gdk-pixbuf/abicheck.sh @@ -0,0 +1,5 @@ +#! /bin/sh + +cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_MMX_SYMBOLS gdk-pixbuf.symbols | sed -e '/^$/d' | sort > expected-abi +nm -D .libs/libgdk_pixbuf-2.0.so | grep " T " | cut -c12- | grep "^\(gdk\|pixops\)_" | sort > actual-abi +diff -u expected-abi actual-abi |