waf-abi: fixed small uninitialised data on PPC64
authorAndrew Tridgell <tridge@samba.org>
Tue, 7 Sep 2010 03:45:46 +0000 (13:45 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 7 Sep 2010 03:45:46 +0000 (13:45 +1000)
on PPC64 Linux systems a 'S' line from nm means "small object
uninitialised data"

buildtools/scripts/abi_gen.sh

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