summaryrefslogtreecommitdiff
path: root/gtk/abicheck.sh
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-10 09:43:42 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-11 06:39:35 +0200
commit57a7079a30355e91cea0e64e4b3c8fbb11dc2a45 (patch)
treef66fedbedf4a411669f699c94b980154b689640b /gtk/abicheck.sh
parent827ce1b1bfc61c10f2389b2d3dde4fecefa6af71 (diff)
downloadgtk+-57a7079a30355e91cea0e64e4b3c8fbb11dc2a45.tar.gz
Don't include __bss_start, _edata and _end symbols in the abichecks
They are added by the binutils gold linker.
Diffstat (limited to 'gtk/abicheck.sh')
-rwxr-xr-xgtk/abicheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/abicheck.sh b/gtk/abicheck.sh
index 2c9c8ea232..da4663c5de 100755
--- a/gtk/abicheck.sh
+++ b/gtk/abicheck.sh
@@ -1,5 +1,5 @@
#! /bin/sh
cpp -DINCLUDE_VARIABLES -P -DG_OS_UNIX -DGTK_WINDOWING_X11 -DALL_FILES ${srcdir:-.}/gtk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' | sort > expected-abi
-nm -D -g --defined-only .libs/libgtk-x11-3.0.so | cut -d ' ' -f 3 | sort > actual-abi
+nm -D -g --defined-only .libs/libgtk-x11-3.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