Improve ABI checking
authorMatthias Clasen <matthiasc@src.gnome.org>
Sat, 6 Aug 2005 15:26:49 +0000 (15:26 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 6 Aug 2005 15:26:49 +0000 (15:26 +0000)
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
glib/abicheck.sh
glib/glib.symbols

index 19baf7b..ea830de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 19baf7b..ea830de 100644 (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.
index 19baf7b..ea830de 100644 (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.
index 19baf7b..ea830de 100644 (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.
index 65462a7..832c525 100755 (executable)
@@ -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
index fcaa08c..685357e 100644 (file)
@@ -1261,5 +1261,6 @@ glib_major_version
 glib_mem_profiler_table
 glib_micro_version
 glib_minor_version
+glib_on_error_halt
 #endif