[glib] Don't include __bss_start, _edata and _end symbols in the abichecks
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Don't include __bss_start, _edata and _end symbols in the abichecks
- Date: Tue, 11 May 2010 04:17:35 +0000 (UTC)
commit 936ff022f21a43f39552799dc1b3988379563959
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date: Mon May 10 09:51:49 2010 +0200
Don't include __bss_start, _edata and _end symbols in the abichecks
They are added by the binutils gold linker.
gio/abicheck.sh | 2 +-
glib/abicheck.sh | 2 +-
gobject/abicheck.sh | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/abicheck.sh b/gio/abicheck.sh
index 5796399..0f4d40c 100755
--- a/gio/abicheck.sh
+++ b/gio/abicheck.sh
@@ -8,6 +8,6 @@ INCLUDES="$INCLUDES -include glibconfig.cpp"
cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gio.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
rm glibconfig.cpp
-nm -D -g --defined-only .libs/libgio-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
+nm -D -g --defined-only .libs/libgio-2.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi
diff --git a/glib/abicheck.sh b/glib/abicheck.sh
index ce9a966..7ccc120 100755
--- a/glib/abicheck.sh
+++ b/glib/abicheck.sh
@@ -8,6 +8,6 @@ INCLUDES="$INCLUDES -include glibconfig.cpp $GLIB_DEBUG_FLAGS"
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 -f glibconfig.cpp
-nm -D -g --defined-only .libs/libglib-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
+nm -D -g --defined-only .libs/libglib-2.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
diff -u expected-abi actual-abi && rm -f expected-abi actual-abi
diff --git a/gobject/abicheck.sh b/gobject/abicheck.sh
index 74391cd..1f0e3ef 100755
--- a/gobject/abicheck.sh
+++ b/gobject/abicheck.sh
@@ -8,6 +8,6 @@ INCLUDES="$INCLUDES -include glibconfig.cpp"
cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
rm glibconfig.cpp
-nm -D -g --defined-only .libs/libgobject-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
+nm -D -g --defined-only .libs/libgobject-2.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]