summaryrefslogtreecommitdiff
path: root/gdk
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 /gdk
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 'gdk')
-rwxr-xr-xgdk/abicheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/abicheck.sh b/gdk/abicheck.sh
index e1cb6fbe02..bd35405b96 100755
--- a/gdk/abicheck.sh
+++ b/gdk/abicheck.sh
@@ -1,5 +1,5 @@
#! /bin/sh
cpp -DINCLUDE_VARIABLES -P -DALL_FILES -DGDK_ENABLE_BROKEN -DGDK_WINDOWING_X11 ${srcdir:-.}/gdk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' | sort | uniq > expected-abi
-nm -D -g --defined-only .libs/libgdk-x11-3.0.so | cut -d ' ' -f 3 | sort > actual-abi
+nm -D -g --defined-only .libs/libgdk-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