tilo: support latest binutils
Latest versions of binutils mark _end with "B" instead of "A".
Support both of them.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/tilo/tilo.sh b/tilo/tilo.sh
index ff60063..f152e28 100755
--- a/tilo/tilo.sh
+++ b/tilo/tilo.sh
@@ -50,7 +50,7 @@
to_remove="$to_remove $KERNEL.gz"
PSIZE=`ls -l $KERNEL.gz | awk '{print$5}'`
SIZE=`ls -l $KERNEL.raw | awk '{print$5}'`
- ROOTA=`nm $KERNEL | awk '/A _end$/{print$1}'`
+ ROOTA=`nm $KERNEL | awk '/[AB] _end$/{print$1}'`
rm $KERNEL.raw
echo "Sizes ($tag):"
echo " raw size = $SIZE"