Commit cb3f3238 authored by Matthias Clasen's avatar Matthias Clasen

Improve ABI checking

parent bda683f7
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.
......
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.
......
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.
......
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.
......
......@@ -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
......@@ -1261,5 +1261,6 @@ glib_major_version
glib_mem_profiler_table
glib_micro_version
glib_minor_version
glib_on_error_halt
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment