Improve ABI checking

This commit is contained in:
Matthias Clasen 2005-08-06 15:26:49 +00:00
parent bda683f786
commit cb3f32383e
6 changed files with 27 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2005-08-06 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Include glib_on_error_halt.
* glib/abicheck.sh: Also check exported variables.
2005-08-05 Manish Singh <yosh@gimp.org>
* tests/refcount/closures.c: remove unused n_threads variable.

View File

@ -1,3 +1,9 @@
2005-08-06 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Include glib_on_error_halt.
* glib/abicheck.sh: Also check exported variables.
2005-08-05 Manish Singh <yosh@gimp.org>
* tests/refcount/closures.c: remove unused n_threads variable.

View File

@ -1,3 +1,9 @@
2005-08-06 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Include glib_on_error_halt.
* glib/abicheck.sh: Also check exported variables.
2005-08-05 Manish Singh <yosh@gimp.org>
* tests/refcount/closures.c: remove unused n_threads variable.

View File

@ -1,3 +1,9 @@
2005-08-06 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Include glib_on_error_halt.
* glib/abicheck.sh: Also check exported variables.
2005-08-05 Manish Singh <yosh@gimp.org>
* tests/refcount/closures.c: remove unused n_threads variable.

View File

@ -5,9 +5,9 @@ egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp"
cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DG_STDIO_NO_WRAP_ON_UNIX -DALL_FILES $INCLUDES "${srcdir:-.}/glib.symbols" | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_VARIABLES -DG_STDIO_NO_WRAP_ON_UNIX -DALL_FILES $INCLUDES "${srcdir:-.}/glib.symbols" | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
rm glibconfig.cpp
nm -D .libs/libglib-2.0.so | grep " T " | cut -d ' ' -f 3 | sort > actual-abi
nm -D .libs/libglib-2.0.so | grep -v " [BDTR] " | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi

View File

@ -1261,5 +1261,6 @@ glib_major_version
glib_mem_profiler_table
glib_micro_version
glib_minor_version
glib_on_error_halt
#endif