build: include uninitialised data in the ABI symbols
authorAndrew Tridgell <tridge@samba.org>
Tue, 20 Apr 2010 03:51:16 +0000 (13:51 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 20 Apr 2010 05:50:26 +0000 (15:50 +1000)
This is needed for symbols like tdb_null in tdb, which are part
of the public ABI

Pair-Programmed-With: Rusty Russell <rusty@samba.org>

buildtools/scripts/abi_gen.sh

index ce589c292e34dc16bf4e5f612540478180725e82..e7fec4fccc407af183bff36cc064d53be87eed3f 100755 (executable)
@@ -10,7 +10,7 @@ cat <<EOF
 set height 0
 set width 0
 EOF
-nm $SHAREDLIB | cut -d' ' -f2- | egrep '^[DGTRVW]' | grep -v @ | cut -c3- | sort | while read s; do
+nm $SHAREDLIB | cut -d' ' -f2- | egrep '^[BDGTRVW]' | grep -v @ | cut -c3- | sort | while read s; do
     echo "echo $s: "
     echo p $s
 done