patch-2.1.124 linux/arch/ppc/boot/offset

Next file: linux/arch/ppc/boot/size
Previous file: linux/arch/ppc/boot/mkprep.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.123/linux/arch/ppc/boot/offset linux/arch/ppc/boot/offset
@@ -1,4 +1,4 @@
 #!/bin/bash
 
-OFFSET=`objdump -h $1  | grep $2 | grep -v zvmlinux| awk '{print $6}'`
+OFFSET=`$1 -h $2  | grep $3 | grep -v zvmlinux| awk '{print $6}'`
 echo "0x"$OFFSET

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov