[PATCH 03/10] tilo: support latest binutils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Latest versions of binutils mark _end with "B" instead of "A".
Support both of them.

Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx>
---
 tilo/tilo.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tilo/tilo.sh b/tilo/tilo.sh
index ff60063200b2..f152e288d967 100755
--- a/tilo/tilo.sh
+++ b/tilo/tilo.sh
@@ -50,7 +50,7 @@ do_image () {
 	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"
-- 
1.8.4.4

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux